Flowdock
method

arrange_actions_by_methods

Importance_0
v2.3.2 - Show latest stable - 0 notes - Class: ActionController::Resources::Resource
arrange_actions_by_methods(actions) protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/resources.rb, line 166
        def arrange_actions_by_methods(actions)
          (actions || {}).inject({}) do |flipped_hash, (key, value)|
            (flipped_hash[value] ||= []) << key
            flipped_hash
          end
        end
Register or log in to add new notes.