Use layout inheritance in registrar area

This commit is contained in:
Artur Beljajev 2017-04-06 20:58:36 +03:00
parent a107a4fd26
commit fbe3bf979d
3 changed files with 0 additions and 2 deletions

View file

@ -1,7 +1,6 @@
class Registrar
class BaseController < ApplicationController
before_action :authenticate_user!, :check_ip
layout 'registrar/application'
include Registrar::ApplicationHelper

View file

@ -1,6 +1,5 @@
class Registrar
class SessionsController < Devise::SessionsController
layout 'registrar/application'
helper_method :depp_controller?
def depp_controller?