adding changeset stuff for the data browser
This commit is contained in:
parent
cf24a5a3ee
commit
2c16177174
5 changed files with 73 additions and 0 deletions
|
@ -112,4 +112,15 @@ class BrowseController < ApplicationController
|
|||
render :action => "not_found", :status => :not_found
|
||||
end
|
||||
end
|
||||
|
||||
def changeset
|
||||
begin
|
||||
@changeset = Changeset.find(params[:id])
|
||||
|
||||
@title = "Changeset | #{@changeset.id}"
|
||||
rescue ActiveRecord::RecordNotFound
|
||||
@type = "changeset"
|
||||
render :action => "not_found", :status => :not_found
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue