Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

让helper直接从ActionController::Base产生 #21

Merged
merged 2 commits into from Jan 26, 2013

Conversation

Projects
None yet
2 participants
Contributor

wuwx commented Jan 17, 2013

使用一些第三方gem的时候,不是从 ApplicationController 继承,如果自定义 layout,有可能会出现无法识别 render_breadcrumb helper 函数的情况,通过在 ActionController::Base 则可解决这个情况。

xdite added a commit that referenced this pull request Jan 26, 2013

Merge pull request #21 from wuwx/master
让helper直接从ActionController::Base产生

@xdite xdite merged commit 0688a81 into xdite:master Jan 26, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment