Method: Effective::Resources::Actions#collection_actions

Defined in:
app/models/effective/resources/actions.rb

#collection_actionsObject

GET actions



136
137
138
# File 'app/models/effective/resources/actions.rb', line 136

def collection_actions
  routes.map { |_, route| route.defaults[:action].to_sym if is_collection_route?(route) } - [nil]
end