Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我想請教layout的使用方法 #309

Open
nooklee opened this issue Oct 23, 2015 · 2 comments
Open

我想請教layout的使用方法 #309

nooklee opened this issue Oct 23, 2015 · 2 comments

Comments

@nooklee
Copy link

nooklee commented Oct 23, 2015

我想請教一下
image
如上圖,我將檔案以資料夾區分,但我資料夾裡面的檔案想要抓取上層的layout,怎麼使用呢..
謝謝

@underfire
Copy link

資料夾沒有的情況下會自動抓上層的 _layout.html.erb

@nooklee
Copy link
Author

nooklee commented Oct 23, 2015

好的謝謝我試試看
因為剛剛有出現錯誤

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants