Flowdock
method

move

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ActionDispatch::MiddlewareStack
move(target, source) public

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_dispatch/middleware/stack.rb, line 142
    def move(target, source)
      source_index = assert_index(source, :before)
      source_middleware = middlewares.delete_at(source_index)

      target_index = assert_index(target, :before)
      middlewares.insert(target_index, source_middleware)
    end
Register or log in to add new notes.