summaryrefslogtreecommitdiffstats
path: root/app/controllers/workflows_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-17 18:21:02 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-17 18:21:02 +0000
commitdfabadf4f7e00d5769f96eb2d6944c7ed7c6e410 (patch)
tree49d01d51e6501b8c1803f23dc0ae8e948e47c8bf /app/controllers/workflows_controller.rb
parent39b44b1cb94f68514bf9ce7ae76ee7228bf6ce07 (diff)
downloadredmine-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/workflows_controller.rb')
-rw-r--r--app/controllers/workflows_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/workflows_controller.rb b/app/controllers/workflows_controller.rb
index f11aa4730..6e7c58e26 100644
--- a/app/controllers/workflows_controller.rb
+++ b/app/controllers/workflows_controller.rb
@@ -16,6 +16,8 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class WorkflowsController < ApplicationController
+ layout 'admin'
+
before_filter :require_admin
def index