app/controllers/astrochimp/signups_controller.rb in astrochimp-0.2.4 vs app/controllers/astrochimp/signups_controller.rb in astrochimp-0.2.5

- old
+ new

@@ -35,9 +35,10 @@ format.html { render action: :index } format.json { render json: @signup.errors, status: :unprocessable_entity } else SignupMailer.signup_complete(@signup).deliver format.html do + flash[:signup_success] = ENV['AC_SIGNUP_SUCCESS_NOTICE'] redirect_to @signup, notice: ENV['AC_SIGNUP_SUCCESS_NOTICE'] end format.json { render json: @signup, status: :created, location: @signup } end end