Last active
April 3, 2018 02:13
-
-
Save hisanari/09ce305981634b52ff875a1010b51fad to your computer and use it in GitHub Desktop.
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
def correct_user | |
@tasklist = cuurent_user.tasklist.find_by(params[:task_list_id]) | |
redirect_to user_path unless @tasklist.nil? | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment