compatible test

This commit is contained in:
Yan
2017-09-28 18:25:31 +06:30
parent 15a2df5922
commit 8d48a73cfc
13 changed files with 114 additions and 167 deletions

View File

@@ -5,13 +5,13 @@ class HomeController < ApplicationController
def index
@employees = Employee.all_emp_except_waiter.order("name asc")
@login_form = LoginForm.new()
render "layouts/initial", layout: false
render "layouts/login", layout: false
end
def show
@login_form = LoginForm.new()
@login_form.emp_id = params[:emp_id]
render "layouts/initial", layout: false
render "layouts/login", layout: false
end
def update