app/controllers/effective/assets_controller.rb in effective_assets-1.11.3 vs app/controllers/effective/assets_controller.rb in effective_assets-1.11.4
- old
+ new
@@ -20,10 +20,10 @@
@aws_acl = EffectiveAssets.aws_acl
end
@user_uploads = IframeUpload.new(@assets)
- render :file => 'effective/assets/iframe'
+ render 'effective/assets/iframe'
end
def destroy
@asset = Effective::Asset.find(params[:id])
EffectiveAssets.authorized?(self, :destroy, @asset)