To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorBuilt-in page_classes view helper
In order to generate body classes for views
- Scenarios
-
- Viewing the root path
-
- Given
- the Server is running at "page-classes-app"
- When
- I go to "/page-classes.html"
- Then
- I should see "page-classes"
- Viewing a tier-1 path
-
- Given
- the Server is running at "page-classes-app"
- When
- I go to "/sub1/page-classes.html"
- Then
- I should see "sub1 sub1_page-classes"
- Viewing a tier-2 path
-
- Given
- the Server is running at "page-classes-app"
- When
- I go to "/sub1/sub2/page-classes.html"
- Then
- I should see "sub1 sub1_sub2 sub1_sub2_page-classes"
Last published over 7 years ago by middleman.