config/routes.rb in homeland-press-0.1.1 vs config/routes.rb in homeland-press-0.2.0
- old
+ new
@@ -1,11 +1,14 @@
Homeland::Press::Engine.routes.draw do
- resources :posts, path: '' do
+ resources :posts do
collection do
get :upcoming
post :preview
end
member do
put :publish
end
+ end
+ namespace :admin do
+ resources :posts
end
end