stable, before a refactor
This commit is contained in:
@@ -11,7 +11,7 @@ class EmployersController < ApplicationController
|
||||
@employer = Employer.new
|
||||
@employer.build_plan_with_default_benefits
|
||||
@plan_templates = IdCardBenefitsTemplate.where.not(title: "BLANK")
|
||||
render :new
|
||||
render :new_new
|
||||
end
|
||||
|
||||
def import
|
||||
@@ -23,7 +23,7 @@ class EmployersController < ApplicationController
|
||||
@employer = Employer.new
|
||||
@employer.build_plan_with_default_benefits
|
||||
end
|
||||
render :new
|
||||
render :new_new
|
||||
end
|
||||
|
||||
def create
|
||||
@@ -37,7 +37,7 @@ class EmployersController < ApplicationController
|
||||
redirect_to employer_path(@employer.slug), notice: 'Employer Saved'
|
||||
else
|
||||
@plan_templates = IdCardBenefitsTemplate.where.not(title: "BLANK")
|
||||
render :new
|
||||
render :new_new
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user