frontend/config/routes.rb in meroku-2.0.8 vs frontend/config/routes.rb in meroku-2.0.9

- old
+ new

@@ -1,19 +1,11 @@ Rails.application.routes.draw do - resources :publickeys - resources :apps - Rails.application.routes.draw do - resources :publickeys - resources :apps - devise_for :users, controllers: { - sessions: 'users/sessions', - registrations: 'users/registrations' - } - end + resources :publickeys, only: [:create] + resources :apps, only: [:create] - get 'pages/landing' + devise_for :users, controllers: { + sessions: 'users/sessions', + registrations: 'users/registrations' + } - # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html - - root 'pages#landing' end