|
|
@ -100,12 +100,12 @@ class BoardsController < ApplicationController
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
def edit
|
|
|
|
def edit
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def update
|
|
|
|
|
|
|
|
if @project.project_type == 1
|
|
|
|
if @project.project_type == 1
|
|
|
|
render :layout => 'base_courses'
|
|
|
|
render :layout => 'base_courses'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def update
|
|
|
|
@board.safe_attributes = params[:board]
|
|
|
|
@board.safe_attributes = params[:board]
|
|
|
|
if @board.save
|
|
|
|
if @board.save
|
|
|
|
redirect_to_settings_in_projects
|
|
|
|
redirect_to_settings_in_projects
|
|
|
|