Thanks William.

Also, you need to turn off Sass compilation for Heroku, so production.rb looks like this for those two options:


# Caching is off for Heroku
config.action_controller.perform_caching             = false

# Turn off Sass compilation in production
Sass::Plugin.options[:never_update] = true

Wes

On 5/31/11 3:11 PM, William Ross wrote:
On 31 May 2011, at 20:15, Wes Gamble wrote:

How do I override the default admin. layout for Radiant?

I'm playing with the Radiant 1.0.0 prerelease and it's caching the Javascript into an 
"all" file and I want to take that behavior out, since I'm deploying on Heroku 
and can't write to the filesystem.
In this case it should be enough to set

        config.action_controller.perform_caching = false

in config/environments/production.rb.

If you really want to override the layout you can do that by including an 
app/layouts/application.html.haml in any extension.

best,

will


Reply via email to