This new Legislation::Proposal model inherits from the original Proposal, as it will behave in a very similar way.
8 lines
267 B
Ruby
8 lines
267 B
Ruby
class Admin::Legislation::ProposalsController < Admin::Legislation::BaseController
|
|
load_and_authorize_resource :process, class: "Legislation::Process"
|
|
load_and_authorize_resource :proposal, class: "Legislation::Proposal", through: :process
|
|
|
|
def index
|
|
end
|
|
end
|