Commit 6ef63129bf42b9d24fb81862d9b88cef8b4bb67f
Committed by
Daniela Feitosa
1 parent
8aaea668
Exists in
master
and in
22 other branches
Add route for plugin administration
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
lib/noosfero/plugin/routes.rb
... | ... | @@ -3,5 +3,6 @@ Dir.glob(File.join(Rails.root, 'config', 'plugins', '*', 'controllers')) do |dir |
3 | 3 | map.connect 'plugin/' + plugin_name + '/:action/:id', :controller => plugin_name + '_plugin_environment' |
4 | 4 | map.connect 'profile/:profile/plugins/' + plugin_name + '/:action/:id', :controller => plugin_name + '_plugin_profile' |
5 | 5 | map.connect 'myprofile/:profile/plugin/' + plugin_name + '/:action/:id', :controller => plugin_name + '_plugin_myprofile' |
6 | + map.connect 'admin/plugin/' + plugin_name + '/:action/:id', :controller => plugin_name + '_plugin_admin' | |
6 | 7 | end |
7 | 8 | ... | ... |