Fixed registrar module helper

This commit is contained in:
Priit Tark 2015-04-13 11:23:56 +03:00
parent 9bb20365c9
commit 8df6b3bdd1
4 changed files with 19 additions and 17 deletions

View file

@ -1,5 +1,9 @@
class Registrar::SessionsController < ::SessionsController
layout 'registrar/application'
helper_method :depp_controller?
def depp_controller?
false
end
def create
@user = ApiUser.first if params[:user1]