remove present? call; we do not need it
This commit is contained in:
parent
38ddfefe54
commit
d5890bdf66
@ -149,7 +149,7 @@ def action_methods
|
||||
# ==== Parameters
|
||||
# * <tt>action_name</tt> - The name of an action to be tested
|
||||
def available_action?(action_name)
|
||||
_find_action_name(action_name).present?
|
||||
_find_action_name(action_name)
|
||||
end
|
||||
|
||||
# Returns true if the given controller is capable of rendering
|
||||
|
Loading…
Reference in New Issue
Block a user