删除项目页面导航栏丢失:原因layout指定错误,解决方法:修正

This commit is contained in:
z9hang 2014-09-02 10:42:04 +08:00
parent 8596d594a7
commit a97511750c
1 changed files with 1 additions and 1 deletions

View File

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