Commit ffc1a2b3
Changed files (1)
app
controllers
admin
app/controllers/admin/photos_controller.rb
@@ -1,7 +1,7 @@
module Admin
class PhotosController < AdminController
def index
- @photos = Photo.all
+ @photos = Photo.order(id: :desc)
end
def show