config/routes.rb in exposition-0.0.5.5.pre.alpha vs config/routes.rb in exposition-0.0.5.6.pre.alpha
- old
+ new
@@ -2,10 +2,10 @@
namespace :admin do
resources :posts
resources :tags
get 'login' => 'sessions#new'
post 'login' => 'sessions#create'
- delete 'logout' => 'sessions#destroy'
+ get 'logout' => 'sessions#destroy'
end
resources :posts, only: [:show]
resources :tags, only: [:show]