Skip to content

Commit

Permalink
Merge pull request #1174 from WaYdotNET/fix-slim2
Browse files Browse the repository at this point in the history
Fix slim 2.0 Backward incompatible syntax change
  • Loading branch information
ujifgc committed Mar 23, 2013
2 parents c24c9a6 + 0b15ea1 commit 8f7a4ec
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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'
Expand Down

0 comments on commit 8f7a4ec

Please sign in to comment.