root/app/controllers/admin/artwork_step_images_controller.rb @ 1caaf4a7
b689e231 | Marc Dequènes (Duck) | class Admin::ArtworkStepImagesController < Admin::AdminController
|
|
simple_rest_support Artwork
|
|||
before_filter :load_form_data, :only => [:index]
|
|||
private
|
|||
def load_form_data
|
|||
@artwork_step_images = @artwork.artwork_step_images.paginate(:all, :order => params[:sort], :page => params[:page])
|
|||
end
|
|||
end
|