Skip to content

Commit f2fc921

Browse files
sikachujosevalim
authored andcommitted
No need to check for both full and mountable.
All mountable engine are considered `full?` already.
1 parent a1c31ec commit f2fc921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def javascripts
136136
end
137137

138138
def images
139-
if mountable? || full?
139+
if mountable?
140140
empty_directory_with_gitkeep "app/assets/images"
141141
end
142142
end

0 commit comments

Comments
 (0)