Sha256: 34a40c0d1e867f3783f7df6ddbc282194638c08493df6df927843cc9af4550b1

Contents?: true

Size: 1.1 KB

Versions: 15

Compression:

Stored size: 1.1 KB

Contents

Description:

    Creates a subsite, a namespaced section of your application.

    Controllers for the subsite are created in
    app/controllers/<subsite_name>/ and views are also in their own
    subdirectory.   This allows you to have two different controllers
    and two different sets of views for the same model.

    The subsite will use app/views/taglibs/<subsite_name>_site.dryml
    as well as app/views/taglibs/application.dryml.  This allows you
    to customize the look and feel of a portion of your site.  The
    remaining views of your application that are not under a subsite
    load both application.dryml and front_site.dryml.

    It is thus recommended that you ensure that
    <subsite_name>_site.dryml and application.dryml do not repeat
    code, such as the inclusion of rapid or the setting of the theme.
    One easy way of ensuring this is to use the --make-front-site
    option.  If you have already accounted for this, use
    --make-front-site=false.

    The difference between hobo:admin_site and hobo:subsite is that
    hobo:admin_site limits the subsite to use by administrators only.

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hobo-1.3.3 lib/generators/hobo/admin_subsite/USAGE
hobo-1.3.2 lib/generators/hobo/admin_subsite/USAGE
hobo-1.3.1 lib/generators/hobo/admin_subsite/USAGE
hobo-1.4.0.pre8 lib/generators/hobo/admin_subsite/USAGE
hobo-1.4.0.pre7 lib/generators/hobo/admin_subsite/USAGE
hobo-1.4.0.pre6 lib/generators/hobo/admin_subsite/USAGE
hobo-1.4.0.pre5 lib/generators/hobo/admin_subsite/USAGE
hobo-1.4.0.pre4 lib/generators/hobo/admin_subsite/USAGE
hobo-1.4.0.pre3 lib/generators/hobo/admin_subsite/USAGE
hobo-1.4.0.pre2 lib/generators/hobo/admin_subsite/USAGE
hobo-1.3.0 lib/generators/hobo/admin_subsite/USAGE
hobo-1.3.0.RC4 lib/generators/hobo/admin_subsite/USAGE
hobo-1.3.0.RC3 lib/generators/hobo/admin_subsite/USAGE
hobo-1.3.0.RC2 lib/generators/hobo/admin_subsite/USAGE
hobo-1.3.0.RC1 lib/generators/hobo/admin_subsite/USAGE