Show conference changelog

Use load_and_authorize_resource in versions controlller
Add conference specifc route to revision history page
Users with role can view revision_history only for the versions they have access to
Handle versions where conference_id is not set (records before papertrail was introduced)
This commit is contained in:
Nishanth Vijayan 2016-08-06 17:22:53 +05:30 committed by shlok007
parent 1a5aa14e2c
commit 3bd812728e
13 changed files with 240 additions and 141 deletions

View file

@ -136,6 +136,8 @@ Osem::Application.routes.draw do
patch :update_conference
end
end
get '/revision_history' => 'versions#index'
end
get '/revision_history' => 'versions#index'