simple-image-uploader 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -10,9 +10,9 @@ module SimpleImageUploader
|
|
10
10
|
|
11
11
|
def generate_image_everything
|
12
12
|
# Copy the controllers for user, sessions and password_reset
|
13
|
-
copy_file "images_controller.rb", "app/controllers/"
|
14
|
-
copy_file "file_uploader.rb", "app/uploaders/"
|
15
|
-
copy_file "image.rb", "app/models/"
|
13
|
+
copy_file "images_controller.rb", "app/controllers/images_controller.rb"
|
14
|
+
copy_file "file_uploader.rb", "app/uploaders/file_uploader.rb"
|
15
|
+
copy_file "image.rb", "app/models/image.rb"
|
16
16
|
directory "images", "app/views/images/"
|
17
17
|
end
|
18
18
|
|