root/app/controllers/admin/artworks_controller.rb @ 34772708
b689e231 | Marc Dequènes (Duck) | class Admin::ArtworksController < Admin::AdminController
|
|
simple_rest_support
|
|||
before_filter :load_form_data, :only => [:new, :create, :edit, :update]
|
|||
private
|
|||
def load_form_data
|
|||
@artwork_sets = ArtworkSet.find(:all, :order => "name ASC")
|
|||
@artwork_materials = ArtworkMaterial.find(:all, :order => "name ASC")
|
|||
@artwork_conditions = ArtworkCondition.find(:all, :order => "position ASC")
|
|||
@artwork_placement_reasons = ArtworkPlacementReason.find(:all, :order => "name ASC")
|
|||
70e65017 | Marc Dequènes (Duck) | @artwork_supports = ArtworkSupport.find(:all, :order => "name ASC")
|
|
b689e231 | Marc Dequènes (Duck) | end
|
|
end
|