mv lib to app/lib use :zeitwerk
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
viehlieb 2022-10-18 17:23:18 +02:00
parent af3444bba6
commit e37ad34901
58 changed files with 39 additions and 37 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -2,7 +2,7 @@
#
# Includes a +before_action+ for selecting foodcoop from url.
#
module Concerns::FoodcoopScope
module FoodcoopScope
extend ActiveSupport::Concern
included do

View file

@ -1,4 +1,4 @@
module Concerns::Locale
module Locale
extend ActiveSupport::Concern
included do

View file

@ -1,4 +1,4 @@
module Concerns::SendOrderPdf
module SendOrderPdf
extend ActiveSupport::Concern
protected