diff options
| author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-01-16 22:27:51 +0900 | 
|---|---|---|
| committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-03-20 15:37:45 +0900 | 
| commit | a42351acbc5406ab0825befe641144b4cb1ee6bf (patch) | |
| tree | 4f86ccc44dc87f8e84c00de1eae7823648eaf96b /railties/lib/rails/generators | |
| parent | 1835d87fb848fd9f13e43bf16abd41be231b1666 (diff) | |
| download | rails-a42351acbc5406ab0825befe641144b4cb1ee6bf.tar.gz rails-a42351acbc5406ab0825befe641144b4cb1ee6bf.tar.bz2 rails-a42351acbc5406ab0825befe641144b4cb1ee6bf.zip  | |
Add `app:update` task to engines
Occasionally we update the file generated by engine.
Therefore, I think that there is a task for updating as well as
application in the engine, it is convenient for updating.
Diffstat (limited to 'railties/lib/rails/generators')
| -rw-r--r-- | railties/lib/rails/generators/rails/plugin/plugin_generator.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb index ca48919f9a..118e44d9d0 100644 --- a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb +++ b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb @@ -301,7 +301,7 @@ task default: :test        end        def engine? -        full? || mountable? +        full? || mountable? || options[:engine]        end        def full?  | 
