We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89f45a4 commit ae40449Copy full SHA for ae40449
lib/active_admin/resource/action_items.rb
@@ -30,9 +30,9 @@ def add_action_item(options = {}, &block)
30
31
# Returns a set of action items to display for a specific controller action
32
#
33
- # @params [String, Symbol] action the action to retrieve action items for
+ # @param [String, Symbol] action the action to retrieve action items for
34
35
- # @returns [Array] Array of ActionItems for the controller actions
+ # @return [Array] Array of ActionItems for the controller actions
36
def action_items_for(action)
37
action_items.select{|item| item.display_on?(action) }
38
end
0 commit comments