mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 02:09:39 +02:00
Use layout inheritance in registrar area
This commit is contained in:
parent
a107a4fd26
commit
fbe3bf979d
3 changed files with 0 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
||||||
class Registrar
|
class Registrar
|
||||||
class BaseController < ApplicationController
|
class BaseController < ApplicationController
|
||||||
before_action :authenticate_user!, :check_ip
|
before_action :authenticate_user!, :check_ip
|
||||||
layout 'registrar/application'
|
|
||||||
|
|
||||||
include Registrar::ApplicationHelper
|
include Registrar::ApplicationHelper
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
class Registrar
|
class Registrar
|
||||||
class SessionsController < Devise::SessionsController
|
class SessionsController < Devise::SessionsController
|
||||||
layout 'registrar/application'
|
|
||||||
helper_method :depp_controller?
|
helper_method :depp_controller?
|
||||||
|
|
||||||
def depp_controller?
|
def depp_controller?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue