diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-12-17 18:21:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-12-17 18:21:02 +0000 |
commit | dfabadf4f7e00d5769f96eb2d6944c7ed7c6e410 (patch) | |
tree | 49d01d51e6501b8c1803f23dc0ae8e948e47c8bf /app/controllers/auth_sources_controller.rb | |
parent | 39b44b1cb94f68514bf9ce7ae76ee7228bf6ce07 (diff) | |
download | redmine-dfabadf4f7e00d5769f96eb2d6944c7ed7c6e410.tar.gz redmine-dfabadf4f7e00d5769f96eb2d6944c7ed7c6e410.zip |
Adds an admin layout that displays the admin menu in the sidebar.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3176 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/auth_sources_controller.rb')
-rw-r--r-- | app/controllers/auth_sources_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/auth_sources_controller.rb b/app/controllers/auth_sources_controller.rb index 981f29f03..0f5fba141 100644 --- a/app/controllers/auth_sources_controller.rb +++ b/app/controllers/auth_sources_controller.rb @@ -16,6 +16,8 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. class AuthSourcesController < ApplicationController + layout 'admin' + before_filter :require_admin def index |