Project

General

Profile

Download (454 Bytes) Statistics
| Branch: | Tag: | Revision:
class Admin::ArtworkGroupsController < Admin::AdminController
simple_rest_support ArtworkSet

def select_for_artwork_set
vars = {:form_object => params[:form_object], :form_field => params[:form_field], :artwork_set_id => params[:artwork_set_id]}
if params[:artwork_set_id] == params[:initial_artwork_set_id]
vars[:selected] = params[:initial_artwork_group_id].to_i
end
render :partial => action_name, :locals => vars
end
end
(2-2/10)