Sha256: 9e845f2f4d99efb4a1c8fc273ae829e42aab5a4c8656b98976b8e0667d2da288

Contents?: true

Size: 1.02 KB

Versions: 11

Compression:

Stored size: 1.02 KB

Contents

##
# This file mounts each app in the Padrino project to a specified sub-uri.
# You can mount additional applications using any of these commands below:
#
#   Padrino.mount("blog").to('/blog')
#   Padrino.mount("blog", :app_class => "BlogApp").to('/blog')
#   Padrino.mount("blog", :app_file =>  "path/to/blog/app.rb").to('/blog')
#
# You can also map apps to a specified host:
#
#   Padrino.mount("Admin").host("admin.example.org")
#   Padrino.mount("WebSite").host(/.*\.?example.org/)
#   Padrino.mount("Foo").to("/foo").host("bar.example.org")
#
# Note 1: Mounted apps (by default) should be placed into the project root at '/app_name'.
# Note 2: If you use the host matching remember to respect the order of the rules.
#
# By default, this file mounts the parimary app which was generated with this project.
# However, the mounted app can be modified as needed:
#
#   Padrino.mount(:app_file => "path/to/file", :app_class => "Blog").to('/')
#

# Mounts the core application for this project
Padrino.mount(<%= @app_name.inspect %>).to('/')

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
padrino-gen-0.9.24 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.9.23 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.9.22 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.9.21 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.9.20 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.9.19 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.9.18 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.9.17 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.9.16 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.9.15 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.9.14 lib/padrino-gen/generators/project/config/apps.rb.tt