Sha256: f5cfd4aee6308b61098a95b4e7366aa89bd95a97cb65d37a90efeb2acadcf917
Contents?: true
Size: 326 Bytes
Versions: 17
Compression:
Stored size: 326 Bytes
Contents
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
Version data entries
17 entries across 17 versions & 2 rubygems