end
before_filter :authenticate_admin, :only => [:index, :by_artist, :count, :count_by_artist]
- def self.model
- Picture
- end
-
def index
filer_list
end
format.jpeg { send_data(@item.restore(params[:subdir]), opt ) }
show_html_format format
show_json_format format
+ show_prof_format format
end
end