mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 18:56:05 +02:00
changed response
This commit is contained in:
parent
68ff1c1e64
commit
36e9aac1d3
2 changed files with 3 additions and 4 deletions
|
@ -6,7 +6,7 @@ module Repp
|
|||
desc 'check login user and return data'
|
||||
|
||||
def index
|
||||
@login = current_user.registrar
|
||||
@login = current_user
|
||||
|
||||
# rubocop:disable Style/AndOr
|
||||
render_success(data: nil) and return unless @login
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue