app/controllers/muck/activities_controller.rb in muck-activities-0.1.14 vs app/controllers/muck/activities_controller.rb in muck-activities-0.1.15

- old
+ new

@@ -70,12 +70,10 @@ format.html do flash[:error] = message redirect_back_or_default(@parent) end format.js do - render :update do |page| - page_alert(page, message) - end + render :text => message end format.json do render :json => { :success => false, :exception => ex, :message => t("muck.activities.create_error", :error => errors) } \ No newline at end of file