From d086162854ddd5f3c5ebf37b21c17cd3ac8d6e3a Mon Sep 17 00:00:00 2001 From: zhangyang Date: Tue, 6 Aug 2013 10:21:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3issues=E3=80=81timelog?= =?UTF-8?q?=E5=B8=83=E5=B1=80=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/issues_controller.rb | 1 + app/controllers/timelog_controller.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index fa6aaea5e..cba836ed0 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -16,6 +16,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. class IssuesController < ApplicationController + layout 'base_projects'#Added by young menu_item :new_issue, :only => [:new, :create] default_search_scope :issues diff --git a/app/controllers/timelog_controller.rb b/app/controllers/timelog_controller.rb index 92210fff5..a44f41879 100644 --- a/app/controllers/timelog_controller.rb +++ b/app/controllers/timelog_controller.rb @@ -16,6 +16,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. class TimelogController < ApplicationController + layout 'base_projects'#added by young menu_item :issues before_filter :find_project_for_new_time_entry, :only => [:create]