Sha256: de76eb26d35d1a375cdd0ce49375bd844dfa823d9d62238b0d6eccef7f0ad253

Contents?: true

Size: 365 Bytes

Versions: 8

Compression:

Stored size: 365 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

8 entries across 8 versions & 1 rubygems

Version Path
devise_invitable-1.1.6 lib/devise_invitable/routes.rb
devise_invitable-1.1.5 lib/devise_invitable/routes.rb
devise_invitable-1.1.4 lib/devise_invitable/routes.rb
devise_invitable-1.1.3 lib/devise_invitable/routes.rb
devise_invitable-1.1.2 lib/devise_invitable/routes.rb
devise_invitable-1.1.1 lib/devise_invitable/routes.rb
devise_invitable-1.1.0 lib/devise_invitable/routes.rb
devise_invitable-1.0.3 lib/devise_invitable/routes.rb