Sha256: dad0b957ce47d98c516f861c8dc47f90ea2a7f0f123c2c5e370231a034c5dc8a

Contents?: true

Size: 286 Bytes

Versions: 2

Compression:

Stored size: 286 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
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
devise_masquerade-0.0.3 lib/devise_masquerade/routes.rb
devise_masquerade-0.0.2 lib/devise_masquerade/routes.rb