This rule was added in rubocop 1.79. We were inconsistent about it, so we're adding it to get more consistency.
16 lines
280 B
Ruby
16 lines
280 B
Ruby
class Admin::Legislation::ProgressBarsController < Admin::ProgressBarsController
|
|
include FeatureFlags
|
|
|
|
feature_flag :legislation
|
|
|
|
def index
|
|
@process = progressable
|
|
end
|
|
|
|
private
|
|
|
|
def progressable
|
|
::Legislation::Process.find(params[:process_id])
|
|
end
|
|
end
|