How is the base template set?
Hello,
I'm hunting around an existing code base and I'm trying to work out how the _base.html.erb file is being called. There are a bunch of other partials in that "layouts" folder along with 8 files that aren't prefixed with an underscore.
Is there a Rails config file that sets the main template or something?
Thanks,
Nick
请先登录再写评论。
Hello, Nick,
sorry for the delay. You can call this partial by render 'base'.