diff options
author | rhenium <rhenium@rhe.jp> | 2014-05-23 06:12:06 +0900 |
---|---|---|
committer | rhenium <rhenium@rhe.jp> | 2014-05-23 06:12:06 +0900 |
commit | 225597075bfca3f9cb60ca96c67b260f729a1675 (patch) | |
tree | 4ff856c5796ba832289c9a82adc2cfd23a6fb103 /app/views/layouts/_base.html.haml | |
parent | 62f5e2007ebeae41778e75db4ad8ab746bdf75e0 (diff) | |
download | aclog-225597075bfca3f9cb60ca96c67b260f729a1675.tar.gz |
web: show "(dev)" if the environment is 'development'
Diffstat (limited to 'app/views/layouts/_base.html.haml')
-rw-r--r-- | app/views/layouts/_base.html.haml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/layouts/_base.html.haml b/app/views/layouts/_base.html.haml index bd076cd..e1541c0 100644 --- a/app/views/layouts/_base.html.haml +++ b/app/views/layouts/_base.html.haml @@ -19,7 +19,10 @@ %nav.navbar.navbar-static-top .container .nav.navbar-nav.navbar-left - = link_to "aclog", root_path, class: "navbar-brand" + = link_to root_path, class: "navbar-brand" do + aclog + - if Rails.env.development? + (dev) %ul.nav.navbar-nav.navbar-right %li.dropdown.omittable %a.dropdown-toggle{href: "#", data: { toggle: "dropdown" }}< |