You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 7, 2019. It is now read-only.
When installing your gem it totally messed up my title method that I had defined in the layout helper (created when generating nifty:scaffold and nifty:layout).
Hi Lucas
When installing your gem it totally messed up my title method that I had defined in the layout helper (created when generating nifty:scaffold and nifty:layout).
def title(page_title, show_title = true)
content_for(:title) { h(page_title.to_s) }
@show_title = show_title
end
def show_title?
@show_title
end
def stylesheet(_args)
content_for(:head) { stylesheet_link_tag(_args) }
end
def javascript(_args)
content_for(:head) { javascript_include_tag(_args) }
end
It's a simple method and I think that none of my helper methods are now available…
The text was updated successfully, but these errors were encountered: