Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
Ygopro Arena Web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Ygopro Arena Web
Commits
c1dbacae
Commit
c1dbacae
authored
May 24, 2012
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台
parent
1198112c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/views/entries/_user.html.erb
app/views/entries/_user.html.erb
+1
-1
config/environments/production.rb
config/environments/production.rb
+2
-2
No files found.
app/views/entries/_user.html.erb
View file @
c1dbacae
<div
id=
"user"
>
<div
id=
"user"
>
<%
if
logged?
%>
<%
if
logged?
%>
<%=
link_to
@current_user
.
name
,
@current_user
%>
<%=
link_to
@current_user
.
name
,
@current_user
%>
<%=
link_to
Pm
.
model_name
.
human
,
pms_path
%>
<%
#
= link_to Pm.model_name.human, pms_path %>
<%=
link_to
User
.
human_attribute_name
(
'logout'
),
logout_path
%>
<%=
link_to
User
.
human_attribute_name
(
'logout'
),
logout_path
%>
<%
else
%>
<%
else
%>
<%=
link_to
User
.
human_attribute_name
(
'login'
),
login_path
%>
<%=
link_to
User
.
human_attribute_name
(
'login'
),
login_path
%>
...
...
config/environments/production.rb
View file @
c1dbacae
...
@@ -9,13 +9,13 @@ MycardServerHttp::Application.configure do
...
@@ -9,13 +9,13 @@ MycardServerHttp::Application.configure do
config
.
action_controller
.
perform_caching
=
true
config
.
action_controller
.
perform_caching
=
true
# Disable Rails's static asset server (Apache or nginx will already do this)
# Disable Rails's static asset server (Apache or nginx will already do this)
config
.
serve_static_assets
=
fals
e
config
.
serve_static_assets
=
tru
e
# Compress JavaScripts and CSS
# Compress JavaScripts and CSS
config
.
assets
.
compress
=
true
config
.
assets
.
compress
=
true
# Don't fallback to assets pipeline if a precompiled asset is missed
# Don't fallback to assets pipeline if a precompiled asset is missed
config
.
assets
.
compile
=
fals
e
config
.
assets
.
compile
=
tru
e
# Generate digests for assets URLs
# Generate digests for assets URLs
config
.
assets
.
digest
=
true
config
.
assets
.
digest
=
true
...
...
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