add global nav partial

This commit is contained in:
uu59 2014-05-20 15:47:18 +09:00
parent 6fbd1c6bfe
commit d878bcd5e0
2 changed files with 5 additions and 1 deletions

View File

@ -7,8 +7,8 @@
<%= csrf_meta_tags %>
</head>
<body>
<%= render partial: "shared/global_nav" %>
<%= current_user ? link_to(t("terms.sign_out"), sessions_path, method: :delete) : link_to(t("terms.sign_in"), new_sessions_path) %>
<%= yield %>
</body>

View File

@ -0,0 +1,4 @@
= link_to_other "plugins", plugins_path
= link_to_other "system information", information_misc_path
= current_user ? link_to(t("terms.sign_out"), sessions_path, method: :delete) : link_to(t("terms.sign_in"), new_sessions_path)