]> git.openstreetmap.org Git - rails.git/commit
Use resourceful routes for terms view/accept/decline
authorAnton Khorev <tony29@yandex.ru>
Sat, 4 Jan 2025 11:25:47 +0000 (14:25 +0300)
committerAnton Khorev <tony29@yandex.ru>
Wed, 8 Jan 2025 19:19:35 +0000 (22:19 +0300)
commit606b5c1b6a3b9314f6abd004e8bd9ed3b4352da5
treeebc6fe34317ab3b1f27842735e68e777fa404518
parent44843c1dd7921b310be264bc0261b3c070d37641
Use resourceful routes for terms view/accept/decline
15 files changed:
app/abilities/ability.rb
app/assets/stylesheets/common.scss
app/controllers/accounts/terms_controller.rb [new file with mode: 0644]
app/controllers/application_controller.rb
app/controllers/concerns/session_methods.rb
app/controllers/users_controller.rb
app/views/accounts/edit.html.erb
app/views/accounts/terms/_terms.html.erb [moved from app/views/users/_terms.html.erb with 100% similarity]
app/views/accounts/terms/_terms_declined_flash.html.erb [moved from app/views/users/_terms_declined_flash.html.erb with 100% similarity]
app/views/accounts/terms/show.html.erb [moved from app/views/users/terms.html.erb with 98% similarity]
config/locales/en.yml
config/routes.rb
test/controllers/accounts/terms_controller_test.rb [new file with mode: 0644]
test/controllers/users_controller_test.rb
test/integration/user_terms_seen_test.rb