diff options
author | Łukasz Strzałkowski <lukasz.strzalkowski@gmail.com> | 2013-07-30 14:02:07 +0200 |
---|---|---|
committer | Łukasz Strzałkowski <lukasz.strzalkowski@gmail.com> | 2013-08-25 11:39:13 +0200 |
commit | c9ffd73968f98f04885370a7a075e0bacd213866 (patch) | |
tree | ca6a7d238f0423b3198ca1239fa1dda78beea7a3 /railties/lib | |
parent | ac036cc38c5af3bae436940d2f1c73316eeb726f (diff) | |
download | rails-c9ffd73968f98f04885370a7a075e0bacd213866.tar.gz rails-c9ffd73968f98f04885370a7a075e0bacd213866.tar.bz2 rails-c9ffd73968f98f04885370a7a075e0bacd213866.zip |
Include AV railtie when we're not loading full rails stack
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/plugin/templates/rails/application.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/plugin/templates/rails/application.rb b/railties/lib/rails/generators/rails/plugin/templates/rails/application.rb index 310c975262..b2aa82344a 100644 --- a/railties/lib/rails/generators/rails/plugin/templates/rails/application.rb +++ b/railties/lib/rails/generators/rails/plugin/templates/rails/application.rb @@ -7,6 +7,7 @@ require 'rails/all' <%= comment_if :skip_active_record %>require "active_record/railtie" require "action_controller/railtie" require "action_mailer/railtie" +require "action_view/railtie" <%= comment_if :skip_sprockets %>require "sprockets/railtie" <%= comment_if :skip_test_unit %>require "rails/test_unit/railtie" <% end -%> |