Sha256: 08bbaa8474efa27f2564401036f1c90a586a5f2a3691dcbc0e8cb0a91cf9b1d8

Contents?: true

Size: 367 Bytes

Versions: 6

Compression:

Stored size: 367 Bytes

Contents

module ActionDispatch::Routing
  class Mapper
    protected
      def devise_invitation(mapping, controllers)
        resource :invitation, :only => [:new, :create, :update], :path => mapping.path_names[:invitation], :controller => controllers[:invitations] do
          get :edit, :path => mapping.path_names[:accept], :as => :accept
        end
      end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
devise_invitable-0.3.7 lib/devise_invitable/routes.rb
devise_invitable-0.3.6 lib/devise_invitable/routes.rb
devise_invitable-0.3.5 lib/devise_invitable/routes.rb
devise_invitable-0.3.4 lib/devise_invitable/routes.rb
devise_invitable-0.3.2 lib/devise_invitable/routes.rb
devise_invitable-0.3.1 lib/devise_invitable/routes.rb