Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private
- def must_be_over_13
- if birthday && birthday > 13.years.ago
- redirect_to under_13_landing_page_path ``
- end
- end
- def under_13_landing_page
- end
- under_13_landing_page.html
- get "games_for_kids", to: "students#under_13_landing_page", as: 'under_13_landing_page'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement