Commit 46205c4

mo khan <mo@mokhan.ca>
2015-06-01 03:33:04
add action_name class and bind existing css to both controller_name and action_name.
1 parent b370729
Changed files (2)
app
assets
stylesheets
views
app/assets/stylesheets/profiles.scss
@@ -1,4 +1,4 @@
-.profiles {
+.profiles.show {
   table {
     margin-left: auto;
     margin-right: auto;
app/views/layouts/public.html.erb
@@ -13,7 +13,7 @@
     </script>
     <%= csrf_meta_tags %>
   </head>
-  <body class="<%= controller_name %>">
+  <body class="<%= controller_name %> <%= action_name %>">
     <%= render partial: 'layouts/flash' %>
     <header>
       <div class="row">