Skip to content

Commit

Permalink
code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
mdlux committed Jun 26, 2015
1 parent e81cfb8 commit 917e2cb
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions app/controllers/datasets_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,6 @@ def create
system PythonPath + " " + Rails.root.to_s() + "/transaction_insert_register.py " + @dataset.service + " " +
@dataset.id.to_s() + " " + @dataset.city_id.to_s + " " + @dataset.abstract + " " + @dataset.server_url + " " + @dataset.title + " " +" &"


#system PythonPath + " " + Rails.root.to_s() + "/addregistered_tocsw.py " + @dataset.service + " " +
# @dataset.identifier + @dataset.city_id.to_s + " " + @dataset.abstract + " " + @dataset.server_url + " " + @dataset.title + " " +" &"

end


Expand Down Expand Up @@ -360,20 +356,6 @@ def check_name
format.json { render :json => available, :status => :ok }
end
end

def read_catalogue
@dataset = Dataset.find_by_id(params[:id])

response = system PythonPath + " " + Rails.root.to_s() + "/read_catalogue.py " +
@dataset.id + " &"

respond_to do |format|
format.json { render :json => response
}

render :nothing => true
end
end



Expand Down

0 comments on commit 917e2cb

Please sign in to comment.