app/controllers/albums_controller.rb in mix-rails-albums-0.16.0 vs app/controllers/albums_controller.rb in mix-rails-albums-0.22.0
- old
+ new
@@ -1,19 +1,11 @@
class AlbumsController < ApplicationController
def index
@albums = Album.published.paginate(:page => params[:page], :per_page => 12)
- # @albums.each do |a|
- # a.photos.each do |p|
- # p.image.recreate_versions!
- # end
- # end
-
end
def show
@album = Album.find(params[:id])
end
-
-
end
\ No newline at end of file