fix edit about forum
This commit is contained in:
parent
a99fdcdcfd
commit
9f1c03ee10
|
@ -100,12 +100,12 @@ class BoardsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def edit
|
def edit
|
||||||
|
if @project.project_type == 1
|
||||||
|
render :layout => 'base_courses'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def update
|
def update
|
||||||
if @project.project_type ==1
|
|
||||||
render :layout => 'base_courses'
|
|
||||||
end
|
|
||||||
@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
|
||||||
|
|
Loading…
Reference in New Issue