Sha256: 9535fb5e72e2bab8f5903dfc36828289618b5f4f3adcc67bb70a2d1ed74b796a
Contents?: true
Size: 261 Bytes
Versions: 22
Compression:
Stored size: 261 Bytes
Contents
class PhotosController < ApplicationController def index #@albums = Album.published.paginate(:page => params[:page], :per_page => 12) end def show @album = Album.find(params[:album_id]) @photo = @album.photos.find(params[:id]) end end
Version data entries
22 entries across 22 versions & 2 rubygems