Commit b5768e55 by tady

投稿ページでの「投稿ボタン」の非表示

parent 4f68651b
......@@ -31,11 +31,14 @@ nav.navbar.navbar-fixed-top.navbar-original role="navigation"
span.glyphicon.glyphicon-flag
- if current_user.notifications.unread.any?
span.badge = current_user.notifications.unread.recent.count
- unless params[:action] == 'new' && params[:controller] == 'posts'
li.new-post-btn
form
a.btn.navbar-btn href=new_post_path
| 投稿する
= image_tag 'write.png', class: "write"
li.dropdown
a.dropdown-toggle data-toggle="dropdown"
= current_user.name
......
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