Commit c1dbacae authored by 神楽坂玲奈's avatar 神楽坂玲奈

后台

parent 1198112c
<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 %>
......
...@@ -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 = false config.serve_static_assets = true
# 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 = false config.assets.compile = true
# Generate digests for assets URLs # Generate digests for assets URLs
config.assets.digest = true config.assets.digest = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment