mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 17:55:55 +02:00
Merge branch 'master' of github.com:domify/registry
Conflicts: app/views/admin/bank_statements/index.haml config/locales/en.yml
This commit is contained in:
commit
c74ed91377
94 changed files with 686 additions and 651 deletions
|
@ -1,4 +1,4 @@
|
|||
class Admin::EppLogsController < ApplicationController
|
||||
class Admin::EppLogsController < AdminController
|
||||
load_and_authorize_resource class: ApiLog::EppLog
|
||||
|
||||
def index
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class Admin::ReppLogsController < ApplicationController
|
||||
class Admin::ReppLogsController < AdminController
|
||||
load_and_authorize_resource class: ApiLog::ReppLog
|
||||
|
||||
def index
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
class Admin::SessionsController < SessionsController
|
||||
layout 'login'
|
||||
layout 'admin/application'
|
||||
|
||||
def create
|
||||
super
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class Admin::ZonefileSettingsController < ApplicationController
|
||||
class Admin::ZonefileSettingsController < AdminController
|
||||
load_and_authorize_resource
|
||||
before_action :set_zonefile_setting, only: [:update, :edit]
|
||||
def index
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
class AdminController < ApplicationController
|
||||
layout 'admin/application'
|
||||
before_action :authenticate_user!
|
||||
|
||||
helper_method :head_title_sufix
|
||||
def head_title_sufix
|
||||
t(:admin_head_title_sufix)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -8,4 +8,9 @@ class RegistrarController < ApplicationController
|
|||
def depp_controller?
|
||||
false
|
||||
end
|
||||
|
||||
helper_method :head_title_sufix
|
||||
def head_title_sufix
|
||||
t(:registrar_head_title_sufix)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue