test/dummy/app/controllers/images_controller.rb in attached-0.5.5 vs test/dummy/app/controllers/images_controller.rb in attached-0.5.6
- old
+ new
@@ -1,9 +1,9 @@
class ImagesController < ApplicationController
-
+
respond_to :html
-
+
# GET /images
def index
@images = Image.all
respond_with(@images)
@@ -50,7 +50,7 @@
@image = Image.find(params[:id])
@image.destroy
respond_with(@image)
end
-
+
end