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 auto_stylesheet_link_tag view helper
In order to simplify including css files
- Scenarios
-
- Viewing the root path
- Viewing a tier-1 path
- Viewing the index file of a tier-1 path, without filename
- Viewing the index file of a tier-1 path, without filename, with a trailing slash
- Viewing a tier-2 path
- Viewing the root path
-
- Given
- the Server is running at "auto-css-app"
- When
- I go to "/auto-css.html"
- Then
- I should see "stylesheets/auto-css.css"
- Viewing a tier-1 path
-
- Given
- the Server is running at "auto-css-app"
- When
- I go to "/auto-css/auto-css.html"
- Then
- I should see "stylesheets/auto-css/auto-css.css"
- Viewing the index file of a tier-1 path, without filename
-
- Given
- the Server is running at "auto-css-app"
- When
- I go to "/auto-css"
- Then
- I should see "stylesheets/auto-css/index.css"
- Viewing the index file of a tier-1 path, without filename, with a trailing slash
-
- Given
- the Server is running at "auto-css-app"
- When
- I go to "/auto-css/"
- Then
- I should see "stylesheets/auto-css/index.css"
- Viewing a tier-2 path
-
- Given
- the Server is running at "auto-css-app"
- When
- I go to "/auto-css/sub/auto-css.html"
- Then
- I should see "stylesheets/auto-css/sub/auto-css.css"
Last published over 7 years ago by middleman.