mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 18:56:05 +02:00
Fix home page link
This commit is contained in:
parent
a2a67159d4
commit
211f8c9143
10 changed files with 31 additions and 30 deletions
|
@ -1,7 +0,0 @@
|
|||
class Registrar
|
||||
class DashboardController < BaseController
|
||||
authorize_resource class: false
|
||||
|
||||
def show; end
|
||||
end
|
||||
end
|
|
@ -173,9 +173,9 @@ class Registrar
|
|||
|
||||
def after_sign_in_path_for(_resource_or_scope)
|
||||
if can?(:show, :poll)
|
||||
registrar_poll_path
|
||||
else
|
||||
registrar_root_path
|
||||
else
|
||||
registrar_profile_path
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue