Method: Notee::RolesController#show
- Defined in:
- app/controllers/notee/roles_controller.rb
#show ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'app/controllers/notee/roles_controller.rb', line 10 def show user = find_user_by_access_token if user render json: { status: 'success', role: user.role } else render json: { status: 'failed' } end end |