Class: UsersController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- UsersController
- Defined in:
- lib/generators/foursquare/authentication/templates/controllers/users_controller.rb
Instance Method Summary collapse
Instance Method Details
#new ⇒ Object
2 3 4 |
# File 'lib/generators/foursquare/authentication/templates/controllers/users_controller.rb', line 2 def new render text: "<a href='#{new_foursquare_client_path}'><img src='https://playfoursquare.s3.amazonaws.com/press/logo/connect-black.png' /></a>" end |
#show ⇒ Object
6 7 8 |
# File 'lib/generators/foursquare/authentication/templates/controllers/users_controller.rb', line 6 def show render text: "hello #{current_user.name}" end |