config/routes.rb in clubhouse-0.1.0 vs config/routes.rb in clubhouse-0.2.0
- old
+ new
@@ -1,8 +1,8 @@
Clubhouse::Engine.routes.draw do
scope shallow: true, format: false do
resources :organizations, except: [:new, :edit] do
- match ":id", action: :check, on: :collection, via: :head
+ get :check, on: :member
resources :invitations, except: [:new, :edit]
resources :memberships, except: [:new, :edit]
end