Project

General

Profile

Download (311 Bytes) Statistics
| Branch: | Tag: | Revision:

root / app / controllers / admin / artwork_step_images_controller.rb @ 70e65017

1 b689e231 Marc Dequènes (Duck)
class Admin::ArtworkStepImagesController < Admin::AdminController
2
  simple_rest_support Artwork
3
4
  before_filter :load_form_data, :only => [:index]
5
6
  private
7
8
  def load_form_data
9
    @artwork_step_images = @artwork.artwork_step_images.paginate(:all, :order => params[:sort], :page => params[:page])
10
  end
11
end