Skip to content

Commit

Permalink
subclass from ActionController::Base not Application controller
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhughes27 committed Jul 14, 2017
1 parent 0a69fcf commit bcd6fbe
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
7.2.12
------
* Changed engine controllers to subclass ActionController::Base to avoid any possible conflict with the parent application

7.2.11
-----
* Remove 'Logged in' flash message [[#425]](https://github.com/Shopify/shopify_app/pull/425)
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/shopify_app/authenticated_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module ShopifyApp
class AuthenticatedController < ApplicationController
class AuthenticatedController < ActionController::Base
include ShopifyApp::Localization
include ShopifyApp::LoginProtection

Expand Down
2 changes: 1 addition & 1 deletion app/controllers/shopify_app/sessions_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module ShopifyApp
class SessionsController < ApplicationController
class SessionsController < ActionController::Base
include ShopifyApp::SessionsConcern
end
end
2 changes: 1 addition & 1 deletion app/controllers/shopify_app/webhooks_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module ShopifyApp
class WebhooksController < ApplicationController
class WebhooksController < ActionController::Base
include ShopifyApp::WebhookVerification

class ShopifyApp::MissingWebhookJobError < StandardError; end
Expand Down

0 comments on commit bcd6fbe

Please sign in to comment.