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