diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-02-19 13:02:48 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-02-25 16:26:52 +1100 |
commit | e31d002858e9dd6b790285ce21f35ca1ae8fa72c (patch) | |
tree | 7fa6ea917c7e4c1c24e1c9488d954f9b7d4a461d /config/routes.rb | |
parent | 2a193d3bc74b812bd9ddee9d7520ca1e98007511 (diff) |
Merge in adminbootstraptheme 323d704ab4f1ffe31f20fcabeaf030c462dfbadf into main project
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 3512b4cd4..2fad56bec 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -32,6 +32,9 @@ ActionController::Routing::Routes.draw do |map| general.advanced_search '/advancedsearch', :action => 'search_redirect', :advanced => true general.random_request '/random', :action => 'random_request' + + # Add a route for admin.js to the general controller + general.admin_js '/adminbootstraptheme/javascripts/admin.js', :action => 'admin_js' end map.with_options :controller => 'request' do |request| |