summaryrefslogtreecommitdiffstats
path: root/app/controllers/my_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-08-10 15:22:54 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-08-10 15:22:54 +0000
commit2fdf4426cd8f7437f03181a4f3091f239b47f6d6 (patch)
treea412b3ce3af0c46c70370cf42027389cb86095fd /app/controllers/my_controller.rb
parent361138e16d9ee28b59990424ca5ed3a778898a3e (diff)
downloadredmine-2fdf4426cd8f7437f03181a4f3091f239b47f6d6.tar.gz
redmine-2fdf4426cd8f7437f03181a4f3091f239b47f6d6.zip
Moves @layout 'base'@ to ApplicationController.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1727 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/my_controller.rb')
-rw-r--r--app/controllers/my_controller.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/controllers/my_controller.rb b/app/controllers/my_controller.rb
index ff3393e90..1cfa3e531 100644
--- a/app/controllers/my_controller.rb
+++ b/app/controllers/my_controller.rb
@@ -16,11 +16,10 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class MyController < ApplicationController
- helper :issues
-
- layout 'base'
before_filter :require_login
+ helper :issues
+
BLOCKS = { 'issuesassignedtome' => :label_assigned_to_me_issues,
'issuesreportedbyme' => :label_reported_issues,
'issueswatched' => :label_watched_issues,