Permalink
Browse files

Merge pull request #1174 from WaYdotNET/fix-slim2

Fix slim 2.0 Backward incompatible syntax change
  • Loading branch information...
ujifgc committed Mar 23, 2013
2 parents c24c9a6 + 0b15ea1 commit 8f7a4ec3f6907a0570d8616d655ea70c200686c9
@@ -25,7 +25,7 @@ html lang='en'
ul class='nav pull-left'
- project_modules.each do |project_module|
li class={"navbar-module #{'active' if request.path_info =~ /^#{project_module.path}/}"}
li class=("navbar-module #{'active' if request.path_info =~ /^#{project_module.path}/}")
= link_to project_module.human_name, project_module.path('/admin')
div class='container main'

0 comments on commit 8f7a4ec

Please sign in to comment.