Prefer keyword arguments when method has optional boolean arguments
This commit is contained in:
parent
1f242978af
commit
78b9d92207
9 changed files with 15 additions and 18 deletions
|
@ -4,7 +4,7 @@ class ChangesetCommentsController < ApplicationController
|
|||
|
||||
authorize_resource
|
||||
|
||||
before_action -> { check_database_readable(true) }
|
||||
before_action -> { check_database_readable(:need_api => true) }
|
||||
around_action :web_timeout
|
||||
|
||||
##
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue