fix edit about forum

This commit is contained in:
xianbo 2013-11-21 10:48:11 +08:00
parent a99fdcdcfd
commit 9f1c03ee10
1 changed files with 3 additions and 3 deletions

View File

@ -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