Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix pubnub

  • Loading branch information...
commit 312442ceef3a1f2010afbd973c3190acbef94bc3 1 parent cbda7cb
Jeremy J Barth authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  app/controllers/answers_controller.rb
3  app/controllers/answers_controller.rb
... ...
@@ -1,4 +1,4 @@
1  
-require 'Pubnub'
  1
+require 'pubnub'
2 2
 
3 3
 class AnswersController < ApplicationController
4 4
   # GET /answers
@@ -68,6 +68,7 @@ def create
68 68
 
69 69
     respond_to do |format|
70 70
       if @answer.save
  71
+	flash[:notice] = 'Thank You For Responding'
71 72
         format.html { redirect_to action: "new" }
72 73
         format.json { render json: @answer, status: :created, location: @answer }
73 74
       else

0 notes on commit 312442c

Please sign in to comment.
Something went wrong with that request. Please try again.