Permalink
Browse files

added a class reflecting the route name to the <body>

references issue #22
  • Loading branch information...
inmarelibero committed Nov 7, 2012
1 parent d28affd commit 824cbdbcfdef8da73afb2cfb2673b04324c77969
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Bricks/SiteBundle/Resources/views/layout.html.twig
@@ -40,7 +40,7 @@
</script>
</head>
- <body lang="{{app.request.locale}}" class="{% block body_class '' %}">
+ <body lang="{{app.request.locale}}" class="route-{{ app.request.get('_route') }} {% block body_class '' %}">
<div class="wrapper">
<header>

0 comments on commit 824cbdb

Please sign in to comment.