Class: Socializer::AuthenticationsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Socializer::AuthenticationsController
- Defined in:
- app/controllers/socializer/authentications_controller.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
7 8 9 10 11 |
# File 'app/controllers/socializer/authentications_controller.rb', line 7 def destroy @authentication = current_user.authentications.find(params[:id]) @authentication.destroy redirect_to authentications_path end |
#index ⇒ Object
3 4 5 |
# File 'app/controllers/socializer/authentications_controller.rb', line 3 def index @authentications = current_user.services end |