test/rails31/app/controllers/flash_controller.rb in glow-0.0.11 vs test/rails31/app/controllers/flash_controller.rb in glow-0.0.12
- old
+ new
@@ -10,9 +10,10 @@
def ajax
respond_to do |wants|
wants.js {
flash[params[:type].to_sym] = params[:message]
+ flash[:skip_glow] = params[:skip_glow].present?
head :ok
}
end
end
end