]> git.openstreetmap.org Git - rails.git/commit
Add links to the ToU and include them in signup
authorSimon Poole <simon@poole.ch>
Sun, 21 Oct 2018 08:39:56 +0000 (10:39 +0200)
committerSimon Poole <simon@poole.ch>
Mon, 13 May 2019 14:52:18 +0000 (16:52 +0200)
commit077834704e79259e60967b0cde8f8785017e9145
tree19d753a3600721758be90ca281db7e40de583882
parentda6604402153ee15e9df45516985c317cf069a6a
Add links to the ToU and include them in signup

- this adds links to the ToU in the Welcome box and on the About page
- adds a timestamp column to the users table to record acceptance of the ToU
- require ToU to be accepted before signup can proceed
- rearrange and change text on signup page
app/controllers/users_controller.rb
app/models/user.rb
app/views/layouts/map.html.erb
app/views/users/terms.html.erb
config/locales/en.yml
db/migrate/20181020114000_add_user_tou_agreed.rb [new file with mode: 0644]