Created
January 16, 2017 04:56
-
-
Save sahil290791/c85fd15e27d7f7ec2c820e97ee98cc98 to your computer and use it in GitHub Desktop.
Application controller example for voting app
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 ApplicationController < ActionController::Base | |
before_action :authenticate_user! | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment