Skip to content

Commit ae40449

Browse files
committed
Fixed documentation issues in ActivAdmin::Resource::ActionItem
1 parent 89f45a4 commit ae40449

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/active_admin/resource/action_items.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ def add_action_item(options = {}, &block)
3030

3131
# Returns a set of action items to display for a specific controller action
3232
#
33-
# @params [String, Symbol] action the action to retrieve action items for
33+
# @param [String, Symbol] action the action to retrieve action items for
3434
#
35-
# @returns [Array] Array of ActionItems for the controller actions
35+
# @return [Array] Array of ActionItems for the controller actions
3636
def action_items_for(action)
3737
action_items.select{|item| item.display_on?(action) }
3838
end

0 commit comments

Comments
 (0)