mv lib to app/lib use :zeitwerk
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
af3444bba6
commit
e37ad34901
58 changed files with 39 additions and 37 deletions
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# Split off from main +ApplicationController+ to allow e.g.
|
||||
# Doorkeeper to use it too.
|
||||
module Concerns::Auth
|
||||
module Auth
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
protected
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# Split off from main +ApplicationController+ to allow e.g.
|
||||
# Doorkeeper to use it too.
|
||||
module Concerns::AuthApi
|
||||
module AuthApi
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
protected
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
module Concerns::CollectionScope
|
||||
module CollectionScope
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
private
|
||||
|
||||
def scope
|
||||
raise NotImplementedError, 'Please override #scope when you use Concerns::CollectionScope'
|
||||
raise NotImplementedError, 'Please override #scope when you use CollectionScope'
|
||||
end
|
||||
|
||||
def default_per_page
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# Includes a +before_action+ for selecting foodcoop from url.
|
||||
#
|
||||
module Concerns::FoodcoopScope
|
||||
module FoodcoopScope
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
module Concerns::Locale
|
||||
module Locale
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
module Concerns::SendOrderPdf
|
||||
module SendOrderPdf
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
protected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue