Class: Pasaporte::Controllers::ApprovalsPage
- Inherits:
-
Object
- Object
- Pasaporte::Controllers::ApprovalsPage
- Defined in:
- lib/pasaporte.rb
Instance Method Summary collapse
Instance Method Details
#get_with_nick ⇒ Object
423 424 425 426 427 428 429 430 431 432 |
# File 'lib/pasaporte.rb', line 423 def get_with_nick require_login! @approvals = @profile.approvals if @approvals.empty? @msg = 'You currently do not have any associations with other sites through us' return redirect(DashPage, @nickname) end render :approvals_page end |