app/controllers/papermill_controller.rb in papermill-0.16.3 vs app/controllers/papermill_controller.rb in papermill-1.0.0

- old
+ new

@@ -34,10 +34,10 @@ end end end def edit - render :action => "edit", :layout => (params[:layout] || false) + render :action => "edit" end def create @asset = params[:asset_class].constantize.new(params.reject{|k, v| !(PapermillAsset.columns.map(&:name)+["Filedata", "Filename"]).include?(k)}) if @asset.save(:unique => !params[:gallery]) \ No newline at end of file