Permalink
Browse files

Front shit

  • Loading branch information...
1 parent dd02e8b commit 6c66c4d52d5aa11c9ef0c3b38fe6cc1e9d5dc11b @Benchmann42 Benchmann42 committed Feb 17, 2017
Showing with 2 additions and 1 deletion.
  1. +2 −1 config/routes.rb
View
@@ -3,13 +3,14 @@
resources :cooks, only: [:index, :show, :new, :create, :edit, :update] do
resources :bookings, only: [:new, :create, :edit, :update]
end
- resources :users, only: :show
patch "bookings/:id", to: "bookings#accept", as: :confirm_booking
put "bookings/:id", to: "bookings#decline", as: :decline_booking
mount Attachinary::Engine => "/attachinary"
devise_for :users,
controllers: { omniauth_callbacks: 'users/omniauth_callbacks' }
+ resources :users, only: :show
+
root to: 'pages#home'
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end

0 comments on commit 6c66c4d

Please sign in to comment.