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