blob: ee73d05808444d5b11506729ecabce95d2783788 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Description:
Stubs out new asset placeholders. Pass the asset name, either CamelCased
or under_scored.
To create an asset within a folder, specify the asset's name as a
path like 'parent/name'.
This generates a stylesheet stub in app/assets/stylesheets.
If Sass 3 is available, stylesheets will be generated with the .scss extension.
Example:
`rails generate assets posts`
Posts assets.
Stylesheet: app/assets/stylesheets/posts.css
|