Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRoy McKenzie <roymckenzie@gmail.com>2014-10-05 04:58:39 +0400
committerRoy McKenzie <roymckenzie@gmail.com>2014-10-05 04:58:39 +0400
commit1df8f0cf20b96022e7b28e2a61c5201e209962eb (patch)
tree905f932a9cfca7e7df64df7b99958e022a5bdb38 /app
parentbaacefbd92f1c0511ab4a619051d6fdeaa600f7b (diff)
Added classes to the body for easier page specific styling.
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/application.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 7f6a6d9fb..1924d2956 100644
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -52,7 +52,7 @@
= include_gon(:camel_case => true)
- %body
+ %body{ :class => "page-#{controller_name} action-#{action_name}" }
= flash_messages
= yield :before_content