I am not able for some reason to pass local variables to the show view...
In my controller i have simply:
def show render template: \"books/show\", :re
I think it should be like
render 'books/show', :locals => {:resource => 'Some text'}
It works for me