example/config/routes.rb in ab_panel-0.1.1 vs example/config/routes.rb in ab_panel-0.1.2
- old
+ new
@@ -1,6 +1,8 @@
Example::Application.routes.draw do
- resources :posts
+ resources :posts do
+ get :redirect, on: :member
+ end
# The priority is based upon order of creation:
# first created -> highest priority.
# Sample of regular route: