spec/dummy/config/routes.rb in themes_on_rails-0.3.1 vs spec/dummy/config/routes.rb in themes_on_rails-0.4.0
- old
+ new
@@ -1,6 +1,8 @@
Dummy::Application.routes.draw do
- resources :posts
+ resources :posts do
+ get :get_theme, on: :collection
+ end
# The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes".
# You can have the root of your site routed with "root"