Base legislation processes and draft versions page structure for public site
This commit is contained in:
14
app/controllers/legislation/draft_versions_controller.rb
Normal file
14
app/controllers/legislation/draft_versions_controller.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
class Legislation::DraftVersionsController < Legislation::BaseController
|
||||
load_and_authorize_resource :process
|
||||
load_and_authorize_resource :draft_version, through: :process
|
||||
|
||||
def index
|
||||
end
|
||||
|
||||
def show
|
||||
end
|
||||
|
||||
def changes
|
||||
@draft_version = @process.draft_versions.find(params[:draft_version_id])
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user