diff --git a/app/controllers/boards_controller.rb b/app/controllers/boards_controller.rb index 296fb508c..d079ee31f 100644 --- a/app/controllers/boards_controller.rb +++ b/app/controllers/boards_controller.rb @@ -100,12 +100,12 @@ class BoardsController < ApplicationController end def edit + if @project.project_type == 1 + render :layout => 'base_courses' + end end def update - if @project.project_type ==1 - render :layout => 'base_courses' - end @board.safe_attributes = params[:board] if @board.save redirect_to_settings_in_projects