Created
September 1, 2014 11:29
-
-
Save aishek/01df6be956e6e8d12422 to your computer and use it in GitHub Desktop.
rails falsh redirect usage example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class UsersController < ApplicationController | |
def create | |
redirect_to root_path, :notice => 'Что тревожишь ты меня?' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment