diff options
-rw-r--r-- | app/views/gs_parameters/_index_core.html.haml | 2 | ||||
-rw-r--r-- | app/views/gs_parameters/index.html.haml | 2 | ||||
-rw-r--r-- | config/environments/development.rb | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/app/views/gs_parameters/_index_core.html.haml b/app/views/gs_parameters/_index_core.html.haml index ece3922..0c36560 100644 --- a/app/views/gs_parameters/_index_core.html.haml +++ b/app/views/gs_parameters/_index_core.html.haml @@ -1,6 +1,6 @@ - cache([gs_parameters.first.section, gs_parameters.reorder(:updated_at).last, gs_parameters.pluck(:id)]) do %tr - %th= t('gs_parameters.index.name') + 'asd' + %th= t('gs_parameters.index.name') - if !@sections %th= t('gs_parameters.index.section') %th= t('gs_parameters.index.value') diff --git a/app/views/gs_parameters/index.html.haml b/app/views/gs_parameters/index.html.haml index 51957b6..3c16806 100644 --- a/app/views/gs_parameters/index.html.haml +++ b/app/views/gs_parameters/index.html.haml @@ -8,7 +8,7 @@ %tr %td{:colspan => 3} %h3= section - / Template Dependency: gs_parameters/index_core + -# Template Dependency: gs_parameters/_index_core = render "index_core", :gs_parameters => @gs_parameters.where(:section => section) - else %table diff --git a/config/environments/development.rb b/config/environments/development.rb index 5130681..5076f48 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -11,7 +11,10 @@ Gemeinschaft42c::Application.configure do # Show full error reports and disable caching config.consider_all_requests_local = true + + # Enable caching for development config.action_controller.perform_caching = true + CacheDigests::TemplateDigestor.cache = ActiveSupport::Cache::NullStore.new # Don't care if the mailer can't send config.action_mailer.raise_delivery_errors = false |