Sha256: 7e847284fae2899d227a5b1ae7cbd88013c83ecc5a6c164949c83b9360bfb978

Contents?: true

Size: 333 Bytes

Versions: 28

Compression:

Stored size: 333 Bytes

Contents

module ActionDispatch::Routing
  class Mapper

    protected

    def devise_masquerade(mapping, controllers)
      resources :masquerade,
        :only => :show,
        :path => mapping.path_names[:masquerade],
        :controller => controllers[:masquerades] do

        get :back, :on => :collection
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
devise_masquerade-0.6.5 lib/devise_masquerade/routes.rb
devise_masquerade-0.6.4 lib/devise_masquerade/routes.rb
devise_masquerade-0.6.3 lib/devise_masquerade/routes.rb
devise_masquerade-0.6.2 lib/devise_masquerade/routes.rb
devise_masquerade-0.6.1 lib/devise_masquerade/routes.rb
devise_masquerade-0.6.0 lib/devise_masquerade/routes.rb
devise_masquerade-0.5.3 lib/devise_masquerade/routes.rb
devise_masquerade-0.5.2 lib/devise_masquerade/routes.rb
devise_masquerade-0.5.1 lib/devise_masquerade/routes.rb
devise_masquerade-0.5.0 lib/devise_masquerade/routes.rb
devise_masquerade-0.4.0 lib/devise_masquerade/routes.rb
devise_masquerade-0.3.1 lib/devise_masquerade/routes.rb
devise_masquerade-0.3.0 lib/devise_masquerade/routes.rb
devise_masquerade-0.2.0 lib/devise_masquerade/routes.rb
devise_masquerade-0.1.8 lib/devise_masquerade/routes.rb
devise_masquerade-0.1.7 lib/devise_masquerade/routes.rb
devise_masquerade-0.1.6 lib/devise_masquerade/routes.rb
devise_masquerade-0.1.5 lib/devise_masquerade/routes.rb
devise_masquerade-0.1.4 lib/devise_masquerade/routes.rb
devise_masquerade-0.1.3 lib/devise_masquerade/routes.rb