Added missing </tt>
This commit is contained in:
parent
d3dce774ef
commit
d5634b2287
@ -29,7 +29,7 @@ module ClassMethods
|
||||
#
|
||||
# ==== Options
|
||||
# * <tt>only</tt> - The callback should be run only for this action
|
||||
# * <tt>except<tt> - The callback should be run for all actions except this action
|
||||
# * <tt>except</tt> - The callback should be run for all actions except this action
|
||||
def _normalize_callback_options(options)
|
||||
if only = options[:only]
|
||||
only = Array(only).map {|o| "action_name == '#{o}'"}.join(" || ")
|
||||
|
Loading…
Reference in New Issue
Block a user