Sha256: 25b71cc0f55b10a6c6a2ca95bf8467a25b36448ada5e6b7a91594d6da2e1a5c5

Contents?: true

Size: 712 Bytes

Versions: 2

Compression:

Stored size: 712 Bytes

Contents

=begin

This file mounts each application within the Padrino project to a specific path.
You can mount additional applications using any of these 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')

Note that mounted apps by default should be placed into 'apps/app_name'.

By default, this file simply mounts the core app which was generated with this project.
However, the mounted core can be modified as needed:

  Padrino.mount_core(:app_file => "/path/to/file", :app_class => "Blog")

=end

# Mounts the core application for this project
Padrino.mount_core("<%= @class_name %>")

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
padrino-gen-0.9.9 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.9.7 lib/padrino-gen/generators/project/config/apps.rb.tt