Last active
April 25, 2017 02:59
-
-
Save mfifth/2dbf5c24035504d4d34ae4c2c54d8356 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class='category-list'> | |
| <h1 style='text-align: center; color: blue;'>Categories</h1> | |
| <ul style='list-style: none!important; padding: 0px; margin-top: 40px!important;'> | |
| <% categories.each do |category| %> | |
| <li style='margin-bottom: 10px;'> | |
| <p style='display: inline; margin: 0px;'> | |
| <%= link_to category.name, "https://myapp.herokuapp.com/categories/supplements/#{category.id}", style: "color: blue;", data: {id: category.id, class: category.class.name}, class: "view-files-link ajax-nav" %> | |
| - <%= category.supplements.count %> Files | |
| </p> | |
| <% if SubCategory.where(category_id: category.id).empty? %> | |
| <p class='file-links' style='display: inline; margin: 0px;'> | |
| <%= link_to "View Files", "https://myapp.herokuapp.com/categories/supplements/#{category.id}", style: "color: blue;", data: {id: category.id, class: category.class.name}, class: "view-files-link ajax-nav" %> | |
| </p> | |
| <p class='file-links' style="display: inline; margin: 0px;"> | |
| <%= link_to "Download All", "https://resourcecenter.herokuapp.com/categories/#{category.id}/download_files/?class=#{category.class.name}", class: "ajax-nav" %> | |
| </p> | |
| <% else %> | |
| <%= link_to "View Sub Categories", "https://myapp.herokuapp.com/categories/sub_categories/#{category.id}/?class=#{category.class.name}", data: {id: category.id, class: category.class.name}, class: "view-subs-link ajax-nav" %> | |
| <% end %> | |
| <%= link_to "View Files", "https://myapp.herokuapp.com/categories/supplements/#{category.id}", data: {id: category.id, class: category.class.name}, class: "view-files-link ajax-nav" %> | |
| <% if category.supplements.present? %> | |
| <%= link_to "Download All", "https://myapp.herokuapp.com/categories/#{category.id}/download_files/?class=#{category.class.name}", class: "ajax-nav" %> | |
| <% end %> | |
| </li> | |
| <% end %> | |
| </ul> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(document.body).on("click", ".back-to-home", function(e) { | |
| $.ajax({ | |
| url: "https://myapp.herokuapp.com/portal_home", | |
| type: "GET", | |
| crossDomain: true, | |
| dataType: "html", | |
| success: function(data) { | |
| $(".rails-app").html(data) | |
| } | |
| }); | |
| e.preventDefault(); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2017-04-25T02:55:50.688584+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] Started GET "/portal_home" for 45.50.19.0 at 2017-04-25 02:55:50 +0000 | |
| 2017-04-25T02:55:50.689786+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] Processing by AppProxyController#portal_home as HTML | |
| 2017-04-25T02:55:50.690802+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms) | |
| 2017-04-25T02:55:50.692154+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] | |
| 2017-04-25T02:55:50.692205+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] ActionController::UnknownFormat (AppProxyController#portal_home is missing a template for this request format and variant. | |
| 2017-04-25T02:55:50.692206+00:00 app[web.1]: | |
| 2017-04-25T02:55:50.692207+00:00 app[web.1]: request.formats: ["text/html"] | |
| 2017-04-25T02:55:50.692208+00:00 app[web.1]: request.variant: []): | |
| 2017-04-25T02:55:50.692210+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] | |
| 2017-04-25T02:55:50.692273+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_controller/metal/implicit_render.rb:43:in `default_render' | |
| 2017-04-25T02:55:50.692274+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action' | |
| 2017-04-25T02:55:50.692274+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `tap' | |
| 2017-04-25T02:55:50.692275+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' | |
| 2017-04-25T02:55:50.692276+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/abstract_controller/base.rb:188:in `process_action' | |
| 2017-04-25T02:55:50.692276+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_controller/metal/rendering.rb:30:in `process_action' | |
| 2017-04-25T02:55:50.692277+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action' | |
| 2017-04-25T02:55:50.692277+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:126:in `call' | |
| 2017-04-25T02:55:50.692278+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:126:in `call' | |
| 2017-04-25T02:55:50.692278+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' | |
| 2017-04-25T02:55:50.692279+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:455:in `call' | |
| 2017-04-25T02:55:50.692279+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:455:in `call' | |
| 2017-04-25T02:55:50.692280+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__' | |
| 2017-04-25T02:55:50.692280+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' | |
| 2017-04-25T02:55:50.692280+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:90:in `run_callbacks' | |
| 2017-04-25T02:55:50.692281+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/abstract_controller/callbacks.rb:19:in `process_action' | |
| 2017-04-25T02:55:50.692281+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_controller/metal/rescue.rb:20:in `process_action' | |
| 2017-04-25T02:55:50.692281+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' | |
| 2017-04-25T02:55:50.692282+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.2/lib/active_support/notifications.rb:164:in `block in instrument' | |
| 2017-04-25T02:55:50.692282+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument' | |
| 2017-04-25T02:55:50.692283+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.2/lib/active_support/notifications.rb:164:in `instrument' | |
| 2017-04-25T02:55:50.692283+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action' | |
| 2017-04-25T02:55:50.692283+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' | |
| 2017-04-25T02:55:50.692284+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/activerecord-5.0.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action' | |
| 2017-04-25T02:55:50.692284+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/abstract_controller/base.rb:126:in `process' | |
| 2017-04-25T02:55:50.692284+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionview-5.0.2/lib/action_view/rendering.rb:30:in `process' | |
| 2017-04-25T02:55:50.692285+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_controller/metal.rb:190:in `dispatch' | |
| 2017-04-25T02:55:50.692287+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_controller/metal.rb:262:in `dispatch' | |
| 2017-04-25T02:55:50.692287+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' | |
| 2017-04-25T02:55:50.692288+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_dispatch/routing/route_set.rb:32:in `serve' | |
| 2017-04-25T02:55:50.692288+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_dispatch/journey/router.rb:39:in `block in serve' | |
| 2017-04-25T02:55:50.692289+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_dispatch/journey/router.rb:26:in `each' | |
| 2017-04-25T02:55:50.692289+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_dispatch/journey/router.rb:26:in `serve' | |
| 2017-04-25T02:55:50.692289+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_dispatch/routing/route_set.rb:725:in `call' | |
| 2017-04-25T02:55:50.692290+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:189:in `call!' | |
| 2017-04-25T02:55:50.692291+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:167:in `call' | |
| 2017-04-25T02:55:50.692291+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/omniauth-1.6.1/lib/omniauth/builder.rb:63:in `call' | |
| 2017-04-25T02:55:50.692292+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' | |
| 2017-04-25T02:55:50.692292+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call' | |
| 2017-04-25T02:55:50.692292+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' | |
| 2017-04-25T02:55:50.692293+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' | |
| 2017-04-25T02:55:50.692293+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' | |
| 2017-04-25T02:55:50.692294+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/cookies.rb:613:in `call' | |
| 2017-04-25T02:55:50.692294+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' | |
| 2017-04-25T02:55:50.692294+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:97:in `__run_callbacks__' | |
| 2017-04-25T02:55:50.692295+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' | |
| 2017-04-25T02:55:50.692295+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.2/lib/active_support/callbacks.rb:90:in `run_callbacks' | |
| 2017-04-25T02:55:50.692295+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/callbacks.rb:36:in `call' | |
| 2017-04-25T02:55:50.692296+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' | |
| 2017-04-25T02:55:50.692296+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' | |
| 2017-04-25T02:55:50.692297+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' | |
| 2017-04-25T02:55:50.692297+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/railties-5.0.2/lib/rails/rack/logger.rb:36:in `call_app' | |
| 2017-04-25T02:55:50.692298+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/railties-5.0.2/lib/rails/rack/logger.rb:24:in `block in call' | |
| 2017-04-25T02:55:50.692298+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.2/lib/active_support/tagged_logging.rb:69:in `block in tagged' | |
| 2017-04-25T02:55:50.692299+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.2/lib/active_support/tagged_logging.rb:26:in `tagged' | |
| 2017-04-25T02:55:50.692299+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.2/lib/active_support/tagged_logging.rb:69:in `tagged' | |
| 2017-04-25T02:55:50.692299+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/railties-5.0.2/lib/rails/rack/logger.rb:24:in `call' | |
| 2017-04-25T02:55:50.692326+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/request_id.rb:24:in `call' | |
| 2017-04-25T02:55:50.692327+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' | |
| 2017-04-25T02:55:50.692327+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' | |
| 2017-04-25T02:55:50.692328+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/activesupport-5.0.2/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' | |
| 2017-04-25T02:55:50.692328+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/executor.rb:12:in `call' | |
| 2017-04-25T02:55:50.692329+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/static.rb:136:in `call' | |
| 2017-04-25T02:55:50.692329+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' | |
| 2017-04-25T02:55:50.692330+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/rack-cors-0.4.0/lib/rack/cors.rb:80:in `call' | |
| 2017-04-25T02:55:50.692330+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/railties-5.0.2/lib/rails/engine.rb:522:in `call' | |
| 2017-04-25T02:55:50.692331+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/puma-3.8.2/lib/puma/configuration.rb:224:in `call' | |
| 2017-04-25T02:55:50.692331+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/puma-3.8.2/lib/puma/server.rb:600:in `handle_request' | |
| 2017-04-25T02:55:50.692332+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/puma-3.8.2/lib/puma/server.rb:435:in `process_client' | |
| 2017-04-25T02:55:50.692333+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/puma-3.8.2/lib/puma/server.rb:299:in `block in run' | |
| 2017-04-25T02:55:50.692333+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/puma-3.8.2/lib/puma/thread_pool.rb:120:in `call' | |
| 2017-04-25T02:55:50.692333+00:00 app[web.1]: [e03cbbbc-1e24-40cd-909c-b62b50438d87] vendor/bundle/ruby/2.2.0/gems/puma-3.8.2/lib/puma/thread_pool.rb:120:in `block in spawn_thread' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def portal_home | |
| @categories = Category.all | |
| if cookies[:site_pass] == true | |
| render partial: "home_page", locals: {categories: @categories} | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| General: | |
| Request URL:https://myapp.herokuapp.com/portal_home | |
| Request Method:GET | |
| Status Code:406 Not Acceptable | |
| Remote Address:75.101.133.248:443 | |
| Referrer Policy:no-referrer-when-downgrade | |
| Response Headers: | |
| view source | |
| Access-Control-Allow-Credentials:true | |
| Access-Control-Allow-Methods:GET, POST, OPTIONS | |
| Access-Control-Allow-Origin: https://theirwebsite.net | |
| Access-Control-Max-Age:1728000 | |
| Connection:keep-alive | |
| Content-Length:0 | |
| Content-Type:text/html; charset=utf-8 | |
| Date:Tue, 25 Apr 2017 02:55:50 GMT | |
| Server:Cowboy | |
| Vary:Origin | |
| Via:1.1 vegur | |
| X-Request-Id:e03cbbbc-1e24-40cd-909c-b62b50438d87 | |
| X-Runtime:0.004156 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%= link_to "Categories", '#', class: "back-to-home" %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment