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

后台

parent 1198112c
<div id="user">
<% if logged? %>
<%= 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 %>
<% else %>
<%= link_to User.human_attribute_name('login'), login_path %>
......
......@@ -9,13 +9,13 @@ MycardServerHttp::Application.configure do
config.action_controller.perform_caching = true
# 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
config.assets.compress = true
# 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
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