As suggested in this email, I install Eric Berrys themes, but it isn't
working as expected.
The git directory is there. The themes are in the appropriate location.
At the top of charges.html.erb, I have added :
<% use_theme('bitbucket') %>
In the application_controller.rb I have added:
layout 'themes'
But, I get this error:
Showing app/views/layouts/charges.html.erb where line #9 raised:
undefined method `use_theme' for #<ActionView::Base:0x101f61100>
If I removed <% use_theme('bitbucket') %> from the head, the page renders
correctly. Do I need to define the method somewhere?
*susan*
> checkout the themes plugin from Eric Berry at http://github.com/cavneb/themes
> There you see the example. It's just two lines of code you have to type.
>
> Good luck anyway.
>
> Cheers,
> Chris
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.