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:
Martin Lensment 2015-04-16 18:06:08 +03:00
commit c74ed91377
94 changed files with 686 additions and 651 deletions

View file

@ -1,4 +1,4 @@
class Admin::EppLogsController < ApplicationController
class Admin::EppLogsController < AdminController
load_and_authorize_resource class: ApiLog::EppLog
def index

View file

@ -1,4 +1,4 @@
class Admin::ReppLogsController < ApplicationController
class Admin::ReppLogsController < AdminController
load_and_authorize_resource class: ApiLog::ReppLog
def index

View file

@ -1,5 +1,5 @@
class Admin::SessionsController < SessionsController
layout 'login'
layout 'admin/application'
def create
super

View file

@ -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

View file

@ -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

View file

@ -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