[Fix #1808] Use &. where possible

This commit is contained in:
gregoirenovel 2018-05-30 18:45:46 +02:00
parent 9df649d8cc
commit dc045bdefb
14 changed files with 26 additions and 26 deletions

View file

@ -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" }