Download app/controllers/users/unlocks_controller.rb from denise-oneill-inbox-ru/Rails-8-API-Image-Processing: direct link, hf CLI and curl.
- Browser
- Download file 201 Bytes
-
https://huggingface.co/spaces/denise-oneill-inbox-ru/Rails-8-API-Image-Processing/resolve/main/app/controllers/users/unlocks_controller.rb
- Command line
-
hf download hf://spaces/denise-oneill-inbox-ru/Rails-8-API-Image-Processing/app/controllers/users/unlocks_controller.rb
-
curl -L -o unlocks_controller.rb https://huggingface.co/spaces/denise-oneill-inbox-ru/Rails-8-API-Image-Processing/resolve/main/app/controllers/users/unlocks_controller.rb
201 Bytes
| class Users::UnlocksController < Devise::UnlocksController | |
| layout "devise" | |
| before_action :set_background_image | |
| private | |
| def set_background_image | |
| @background_image = "unlock.png" | |
| end | |
| end | |