Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/AvocadoHQ/avo
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev committed Aug 19, 2020
2 parents 0d98fb2 + a6720f2 commit 29fb8eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion avo.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
'public gem pushes.'
end

spec.files = Dir['{bin,app,config,db,lib,public}/**/*', 'MIT-LICENSE', 'Rakefile', 'README.md', 'avo.gemspec', 'Gemfile', 'Gemfile.lock']
spec.files = Dir['{bin,app,config,db,lib,public}/**/*', 'MIT-LICENSE', 'Rakefile', 'README.md', 'avo.gemspec', 'Gemfile', 'Gemfile.lock'].reject { |file| file.start_with? 'app/frontend' }

spec.add_dependency 'rails', '~> 6.0.2', '>= 6.0.2.1'
spec.add_dependency 'kaminari'
Expand Down
2 changes: 2 additions & 0 deletions lib/avo/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ class Engine < ::Rails::Engine

if Rails.env.production?
Dir.glob(avo_root_path + '/lib/avo/app/**/*.rb'.to_s).each { |c| load(c) }

Avo::App.init
end
end

Expand Down

0 comments on commit 29fb8eb

Please sign in to comment.