Sha256: 7927f1e4f44b6368616a766dae93f17ba4375292df6cc25c7826e8b501a20608

Contents?: true

Size: 890 Bytes

Versions: 6

Compression:

Stored size: 890 Bytes

Contents

Description:
  The zoo:layout generator creates a basic layout, stylesheet and
  helper which will give some structure to a starting Rails app.

  The generator takes one argument which will be the name of the
	layout and stylesheet files. If no argument is passed then it defaults
	to "application".

  The helper module includes some methods which can be called in any
  template or partial to set variables to be used in the layout, such as
  page title and javascript/stylesheet includes.

Examples:
    rails generate zoo:layout

        Layout:     app/views/layouts/application.html.haml
        Stylesheet: public/stylesheets/application.css
        Helper:     app/helpers/layout_helper.rb


    rails generate zoo:layout admin

        Layout:     app/views/layouts/admin.html.haml
        Stylesheet: public/stylesheets/admin.css
        Helper:     app/helpers/layout_helper.rb

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
zoo-generators-0.1.5 lib/generators/zoo/layout/USAGE
zoo-generators-0.1.4 lib/generators/zoo/layout/USAGE
zoo-generators-0.1.3 lib/generators/zoo/layout/USAGE
zoo-generators-0.1.2 lib/generators/zoo/layout/USAGE
zoo-generators-0.1.1 lib/generators/zoo/layout/USAGE
zoo-generators-0.1.0 lib/generators/zoo/layout/USAGE