Sha256: b111c5ce030a54c8d574dd11606e6d65f77800a703e80417e69dfdbb707c9b1d

Contents?: true

Size: 245 Bytes

Versions: 3

Compression:

Stored size: 245 Bytes

Contents

class PhotoGalleriesController < ApplicationController

  respond_to :html, :json, :xml
  layout Spud::Photos.base_layout

  def index
    @photo_galleries = SpudPhotoGallery.order('created_at desc')
    respond_with @photo_galleries
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tb_photos-1.0.6 app/controllers/photo_galleries_controller.rb
tb_photos-1.0.5 app/controllers/photo_galleries_controller.rb
tb_photos-1.0.4 app/controllers/photo_galleries_controller.rb