Reputation:
I'm in the process of trying to install this view helper:
https://github.com/lwe/page_title_helper
I've followed the installation instructions but I think I must be missing something or the instructions assume I know something I don't (I'm new to Rails).
I'm getting this error:
undefined local variable or method `page_title'
The instructions say add 'page_title' to my views.
My translations follow. Note: I added the translation to several scopes for testing purposes.
# en.yml:
en:
devise:
sessions:
new:
title: "Sign In!"
user_sessions:
new:
title: "Sign in!"
app:
user_sessions:
new:
title: "Sign in!"
Upvotes: 0
Views: 191
Reputation: 25994
Did you try putting something like page_title = 'my title'
in your view ?
Upvotes: 1