删除项目页面导航栏丢失:原因layout指定错误,解决方法:修正
This commit is contained in:
parent
8596d594a7
commit
a97511750c
|
@ -836,7 +836,7 @@ class ProjectsController < ApplicationController
|
|||
format.api { render_api_ok }
|
||||
end
|
||||
else
|
||||
render :layout => "base"
|
||||
render :layout => "project_base"
|
||||
end
|
||||
# hide project in layout
|
||||
@project = nil
|
||||
|
|
Loading…
Reference in New Issue