1223
This commit is contained in:
parent
4967fbc87d
commit
16938c343d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue