Skip to content

Commit

Permalink
autoload presenters path
Browse files Browse the repository at this point in the history
  • Loading branch information
blaknite committed May 31, 2016
1 parent 6df3e37 commit 95e04df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/blush/railtie.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
module Blush
class Railtie < Rails::Railtie
config.after_initialize do |app|
app.config.paths.add 'app/presenters', eager_load: true
end

initializer "blush.setup_action_controller" do |app|
ActiveSupport.on_load :action_controller do
self.class_eval do
Expand Down

0 comments on commit 95e04df

Please sign in to comment.