lib/devise_invitable/routes.rb in devise_invitable-2.0.0 vs lib/devise_invitable/routes.rb in devise_invitable-2.0.1

- old
+ new

@@ -1,14 +1,14 @@ 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 get :destroy, path: mapping.path_names[:remove], as: :remove end end - end end