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

Version Path
mix-rails-0.16.0 mix-rails-albums/app/controllers/albums_controller.rb
mix-rails-albums-0.16.0 app/controllers/albums_controller.rb
mix-rails-0.15.0 mix-rails-albums/app/controllers/albums_controller.rb
mix-rails-albums-0.15.0 app/controllers/albums_controller.rb
mix-rails-0.12.2 mix-rails-albums/app/controllers/albums_controller.rb
mix-rails-albums-0.12.2 app/controllers/albums_controller.rb
mix-rails-0.12.1 mix-rails-albums/app/controllers/albums_controller.rb
mix-rails-albums-0.12.1 app/controllers/albums_controller.rb
mix-rails-albums-0.11.0 app/controllers/albums_controller.rb
mix-rails-0.10.4 mix-rails-albums/app/controllers/albums_controller.rb
mix-rails-albums-0.10.4 app/controllers/albums_controller.rb
mix-rails-0.10.3 mix-rails-albums/app/controllers/albums_controller.rb
mix-rails-albums-0.10.3 app/controllers/albums_controller.rb
mix-rails-albums-0.10.2 app/controllers/albums_controller.rb
mix-rails-0.7.0 albums/app/controllers/albums_controller.rb
mix-rails-0.6.0 albums/app/controllers/albums_controller.rb
mix-rails-0.5.0 albums/app/controllers/albums_controller.rb