Project

General

Profile

Download (565 Bytes) Statistics
| Branch: | Tag: | Revision:
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")
@techniques = Technique.find(:all, :order => "name ASC")
end
end
(8-8/9)