diff options
author | Jorge Bejar <jorge@wyeworks.com> | 2015-05-05 14:42:39 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2015-06-11 16:54:14 -0300 |
commit | e3808878c6dcea42a8bf050f28943a5dfffea4e7 (patch) | |
tree | 324a93b30898b2ee0578333162501e7a9de7a544 | |
parent | 674dab30bc46d63875c533f4cd4daa2b62ad67c5 (diff) | |
download | rails-e3808878c6dcea42a8bf050f28943a5dfffea4e7.tar.gz rails-e3808878c6dcea42a8bf050f28943a5dfffea4e7.tar.bz2 rails-e3808878c6dcea42a8bf050f28943a5dfffea4e7.zip |
Exclude cache_digests:dependencies rake task in api app
-rw-r--r-- | actionview/lib/action_view/railtie.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/actionview/lib/action_view/railtie.rb b/actionview/lib/action_view/railtie.rb index 9a26cba574..5dc7950d6b 100644 --- a/actionview/lib/action_view/railtie.rb +++ b/actionview/lib/action_view/railtie.rb @@ -48,8 +48,10 @@ module ActionView end end - rake_tasks do - load "action_view/tasks/dependencies.rake" + rake_tasks do |app| + unless app.config.api_only + load "action_view/tasks/dependencies.rake" + end end end end |