Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
venjob_thanhnd
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
thanhnd
venjob_thanhnd
Commits
1ec2db23
Commit
1ec2db23
authored
Feb 24, 2020
by
thanhnd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
toppage 20200224 2
parent
1dd5543f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
app/controllers/toppage_controller.rb
+0
-2
app/views/toppage/index.html.erb
+0
-6
No files found.
app/controllers/toppage_controller.rb
View file @
1ec2db23
...
...
@@ -2,8 +2,6 @@ class ToppageController < ApplicationController
def
index
@totaljob
=
Job
.
all
.
count
@latestjobs
=
Job
.
order
(
:last_updated
).
first
(
5
)
@topjobbyindustry
=
Job
.
select
(
"industry_id, job_name"
)
.
#@topindustry = Industry.where(INNER JOIN Job ON Job.industry_id = Industry.id).count(industry_name).order("orders_count DESC")
end
end
app/views/toppage/index.html.erb
View file @
1ec2db23
...
...
@@ -34,12 +34,6 @@
<font
color=
"red"
><b><label
>
Top Industries:
</label></b></font>
<%
@topjobbyindustry
.
each
do
|
j
|
%>
<ul>
<li>
<%=
j
.
industry_id
%>
</li>
</ul>
<%
end
%>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment