Created
March 28, 2019 11:56
-
-
Save BitOfUniverse/658bb8aa73c8d3214b8d714999cf0d53 to your computer and use it in GitHub Desktop.
Ruby IFFE usage in Rails
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 RailsController | |
helper_method def current_user | |
User.current | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment