fix edit about forum
This commit is contained in:
parent
a99fdcdcfd
commit
9f1c03ee10
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue