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
4374085f
Commit
4374085f
authored
Mar 12, 2020
by
thanhnd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20200312
parent
8bef9ca6
Pipeline
#565
failed with stages
in 0 seconds
Changes
3
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
69 additions
and
7 deletions
+69
-7
app/views/layouts/application.html.erb
+19
-0
config/routes.rb
+5
-7
config/setting.yml
+45
-0
No files found.
app/views/layouts/application.html.erb
View file @
4374085f
...
...
@@ -21,18 +21,23 @@
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"#"
><li>
<%=
link_to
'Home'
,
root_path
%>
</li></a>
</li>
<%
if
!
user_signed_in?
%>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"#"
><li>
<%=
link_to
'Log In'
,
new_user_session_path
%>
</li></a>
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"#"
><li>
<%=
link_to
'Sign Up'
,
new_user_registration_path
%>
</li></a>
</li>
<%
end
%>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"#"
><li>
<%=
link_to
'Profile'
,
edit_user_registration_path
%>
</li></a>
</li>
<%
if
user_signed_in?
%>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"#"
><li>
<%=
link_to
'Log out'
,
destroy_user_session_path
,
method: :delete
%>
</li></a>
</li>
<%
end
%>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"#"
><li>
<%=
link_to
'Favorites'
%>
</li></a>
</li>
...
...
@@ -43,6 +48,20 @@
</div>
</nav>
<%
if
user_signed_in?
%>
<ul
class=
"nav-item"
>
<label>
<%=
current_user
.
email
%>
</label>
</ul>
<%
end
%>
<%
if
flash
[
:notice
]
%>
<p
class=
"alert"
>
<%=
flash
[
:notice
]
%>
</p>
<%
end
%>
<%
if
flash
[
:alert
]
%>
<p
class=
"alert"
>
<%=
flash
[
:alert
]
%>
</p>
<%
end
%>
<%=
yield
%>
<footer
class=
"page-footer"
>
...
...
config/routes.rb
View file @
4374085f
Rails
.
application
.
routes
.
draw
do
get
'industries/index'
get
'cities/index'
get
'/detail/:id'
,
to:
'jobs#show'
get
'/joblist'
,
to:
'jobs#index'
get
'/citylist'
,
to:
'cities#index'
get
'/industrylist'
,
to:
'industries#index'
get
'/jobsearch'
=>
'jobs#search'
,
as: :job_search
get
'detail/:id'
,
to:
'jobs#show'
get
'jobs'
,
to:
'jobs#index'
get
'cities'
,
to:
'cities#index'
get
'industries'
,
to:
'industries#index'
get
'jobs/search'
=>
'jobs#search'
,
as: :job_search
devise_for
:users
...
...
config/setting.yml
0 → 100644
View file @
4374085f
defaults
:
&defaults
ga_tracking_id
:
'
UA-2260154-19'
cookies
:
expiration_time
:
90
inquiry
:
account_test
:
name_words
:
-
'
じげん'
-
'
次元'
-
'
jigexn'
-
'
zigexn'
-
'
zigen'
-
'
ジゲン'
mail_word
:
zigexn
ips
:
-
118.69.34.46
-
14.161.45.187
-
39.110.206.184
-
39.110.241.117
mailer
:
inquiry
:
bcc
:
-
'
p-kuruma-ex+dev@zigexn.vn'
er
:
220
development
:
<<
:
*defaults
web_url
:
'
localhost:3000'
kuruma_host
:
'
http://kuruma-ex.dev'
test
:
<<
:
*defaults
web_url
:
'
localhost:3000'
chukosya_host
:
'
http://staging.chukosya-ex.jp'
staging
:
<<
:
*defaults
web_url
:
'
kuruma-ex-stg.zigexn.vn'
chukosya_host
:
'
http://staging.chukosya-ex.jp'
production
:
<<
:
*defaults
web_url
:
'
kuruma-ex.jp'
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