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
d3bf24b8
Commit
d3bf24b8
authored
Apr 08, 2020
by
thanhnd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge master to user_pages branch 2
parent
922638e8
Pipeline
#566
failed with stages
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
config/routes.rb
+3
-2
No files found.
config/routes.rb
View file @
d3bf24b8
Rails
.
application
.
routes
.
draw
do
get
'jobs'
,
to:
'jobs#index'
resources
:cities
,
only:
[
:index
]
resources
:industries
,
only:
[
:index
]
devise_for
:users
devise_for
:users
as
:user
do
get
"signin"
=>
"devise/sessions#new"
post
"signin"
=>
"devise/sessions#create"
delete
"signout"
=>
"devise/sessions#destroy"
end
#get 'jobs', to: 'jobs#index'
resources
:jobs
,
only:
[
:index
]
get
'detail/:id'
,
to:
'jobs#show'
get
'jobs/search'
=>
'jobs#search'
,
as: :job_search
root
'top_page#index'
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
resources
:top_page
end
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