Showing
2 changed files
with
3 additions
and
3 deletions
| @@ -38,13 +38,13 @@ module Kanjai | @@ -38,13 +38,13 @@ module Kanjai | ||
| 38 | 38 | ||
| 39 | #render :text => content_for_render and return | 39 | #render :text => content_for_render and return |
| 40 | else | 40 | else |
| 41 | - if stale?(last_modified: @page_data.last_modified, etag: @page_data.cache_key_with_version) | 41 | + #if stale?(last_modified: @page_data.last_modified, etag: @page_data.cache_key_with_version) |
| 42 | layer = @page_data.page.page_template.get_html_content | 42 | layer = @page_data.page.page_template.get_html_content |
| 43 | content_for_render = setTemplateContent(@page_data.page.domain, @page_data.page.page_template, layer, @page_data) | 43 | content_for_render = setTemplateContent(@page_data.page.domain, @page_data.page.page_template, layer, @page_data) |
| 44 | respond_to do |format| | 44 | respond_to do |format| |
| 45 | format.html{render :plain => content_for_render} | 45 | format.html{render :plain => content_for_render} |
| 46 | end | 46 | end |
| 47 | - end | 47 | + #end |
| 48 | end | 48 | end |
| 49 | else | 49 | else |
| 50 | page_content = get_html_by_json_client(@page_data) | 50 | page_content = get_html_by_json_client(@page_data) |