Created
September 16, 2014 18:21
-
-
Save dphase/c7d7aff14c63a4b8f4b0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
get :license, :map => '/user/licenses', :provides => [:json] do | |
user.update(:eula => true, | |
:eula_date => Date.today, | |
:eula_ip => request.ip) | |
redirect '/' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment