Commit 49c1a2db7d27d64046abca6bb07a260d2066d49f

Authored by Guilherme Rojas V. de Lima
Committed by Rafael Manzo
1 parent d527d48e

Enabling page caching.

Signed off by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
config/environments/development.rb
... ... @@ -29,4 +29,7 @@ Mezuro::Application.configure do
29 29  
30 30 #Root URL for ActionMailer
31 31 config.action_mailer.default_url_options = { :host => 'localhost:3000' }
  32 +
  33 + # Enables page caching
  34 + config.action_controller.perform_caching = true
32 35 end
... ...
config/environments/test.rb
... ... @@ -36,4 +36,7 @@ Mezuro::Application.configure do
36 36  
37 37 #Root URL for ActionMailer
38 38 config.action_mailer.default_url_options = { :host => 'localhost:3000' }
  39 +
  40 + # Enables page caching
  41 + config.action_controller.perform_caching = true
39 42 end
... ...