@@ -67,7 +67,7 Rails.application.routes.draw do | |||
|
67 | 67 | match 'my', :controller => 'my', :action => 'index', :via => :get # Redirects to my/page |
|
68 | 68 | match 'my/reset_rss_key', :controller => 'my', :action => 'reset_rss_key', :via => :post |
|
69 | 69 | match 'my/reset_api_key', :controller => 'my', :action => 'reset_api_key', :via => :post |
|
70 |
match 'my/ |
|
|
70 | match 'my/api_key', :controller => 'my', :action => 'show_api_key', :via => :get | |
|
71 | 71 | match 'my/password', :controller => 'my', :action => 'password', :via => [:get, :post] |
|
72 | 72 | match 'my/page_layout', :controller => 'my', :action => 'page_layout', :via => :get |
|
73 | 73 | match 'my/add_block', :controller => 'my', :action => 'add_block', :via => :post |
@@ -30,6 +30,7 class RoutingMyTest < Redmine::RoutingTest | |||
|
30 | 30 | |
|
31 | 31 | should_route 'POST /my/reset_rss_key' => 'my#reset_rss_key' |
|
32 | 32 | should_route 'POST /my/reset_api_key' => 'my#reset_api_key' |
|
33 | should_route 'GET /my/api_key' => 'my#show_api_key' | |
|
33 | 34 | |
|
34 | 35 | should_route 'GET /my/password' => 'my#password' |
|
35 | 36 | should_route 'POST /my/password' => 'my#password' |
General Comments 0
You need to be logged in to leave comments.
Login now