Starting companies and admin

This commit is contained in:
2022-02-08 17:33:34 +00:00
parent 0ff91bbf3a
commit 557b43c911
30 changed files with 934 additions and 5 deletions

View File

@@ -0,0 +1,12 @@
class HomeController < ApplicationController
def index
if user_signed_in?
if current_user.admin?
else
end
end
@companies = Company.all
end
end