Nayshins/Survey_kong — pull request #9 by mjafshar (2014-04-12 01:26:26+00:00)
Title: Fixed error where dashboard page was rendering inside the login page.

Changed response string from login post route to 'false'
Wrote if statement in jquery to check if response is false.
If false, append login error message.
If not false redirect to the '/users/index' route.

Moved <% end %> to correct location in users/index.erb