[Fix #1808] Use &. where possible
This commit is contained in:
parent
9df649d8cc
commit
dc045bdefb
14 changed files with 26 additions and 26 deletions
|
@ -1,3 +1,4 @@
|
|||
/ We can't use &. because the controller may not implement #nav_bar_profile
|
||||
- nav_bar_profile = controller.try(:nav_bar_profile)
|
||||
|
||||
.new-header{ class: current_page?(root_path) ? nil : "new-header-with-border" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue