This commit is contained in:
chiu committed 2019-08-23 14:40:10 +08:00
1 parent 4967fbc87d
commit 16938c343d
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -3,6 +3,7 @@ Rails.application.routes.draw do
scope "(:locale)", locale: Regexp.new(locales.join("|")) do
namespace :admin do
get "/testings/order" => "testings#order"
get "/testings/hello" => "testings#hello"
post "/testings/updateorder" => "testings#updateorder"
resources :testings
end
+2 -2
View File
@@ -47,9 +47,9 @@ module Testing
:active_for_tag => 'Testing',
:available_for => 'managers'
context_link 'testing.hello',
:link_path=>"admin_testings_path" ,
:link_path=>"admin_testings_hello_path" ,
:priority=>6,
:active_for_action=>{'admin/testings/hello'=>'hello'},
:active_for_action=>{'admin/testings'=>'hello'},
:active_for_tag => 'Testing',
:available_for => 'managers'
end