19 lines
382 B
Ruby
19 lines
382 B
Ruby
class Tracking::Legislation::MilestonesController < Tracking::MilestonesController
|
|
include FeatureFlags
|
|
feature_flag :legislation
|
|
|
|
def index
|
|
@process = milestoneable
|
|
end
|
|
|
|
private
|
|
|
|
def milestoneable
|
|
::Legislation::Process.find(params[:process_id])
|
|
end
|
|
|
|
def milestoneable_path
|
|
admin_legislation_process_milestones_path(milestoneable)
|
|
end
|
|
end
|