Remove unnecessary parens
This commit is contained in:
@@ -31,6 +31,6 @@ class Workflows::StagesController < ApplicationController
|
||||
end
|
||||
|
||||
def stage_params
|
||||
params.expect(workflow_stage: [ :name ])
|
||||
params.expect workflow_stage: [ :name ]
|
||||
end
|
||||
end
|
||||
|
||||
@@ -38,6 +38,6 @@ class WorkflowsController < ApplicationController
|
||||
end
|
||||
|
||||
def workflow_params
|
||||
params.expect(workflow: [ :name ])
|
||||
params.expect workflow: [ :name ]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user