Skip to content

Commit

Permalink
Ruby style on padrino#725
Browse files Browse the repository at this point in the history
  • Loading branch information
DAddYE committed Nov 22, 2011
1 parent cdd343e commit 0affca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion padrino-cache/lib/padrino-cache.rb
Expand Up @@ -91,7 +91,7 @@ def registered(app)
app.helpers Padrino::Cache::Helpers::CacheStore
app.helpers Padrino::Cache::Helpers::Fragment
app.helpers Padrino::Cache::Helpers::Page
app.set :cache, Padrino::Cache::Store::File.new(Padrino.root('tmp', defined? app.app_name ? app.app_name.to_s : 'app_name' ,'cache'))
app.set :cache, Padrino::Cache::Store::File.new(Padrino.root('tmp', defined?(app.app_name) ? app.app_name.to_s : '', 'cache'))
app.disable :caching
end
alias :included :registered
Expand Down

0 comments on commit 0affca0

Please sign in to comment.