Sha256: f123d8c292c408effe59aad9e0622bad566affadbbfcb861d76c865e8c729567

Contents?: true

Size: 716 Bytes

Versions: 38

Compression:

Stored size: 716 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

38 entries across 38 versions & 1 rubygems

Version Path
padrino-gen-0.9.6 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.9.5 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.9.4 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.9.3 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.9.2 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.9.1 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.9.0 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.8.5 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.8.4 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.8.3 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.8.2 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.8.1 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.8.0 lib/padrino-gen/generators/project/config/apps.rb.tt
padrino-gen-0.7.9 lib/padrino-gen/generators/app/config/apps.rb.tt
padrino-gen-0.7.8 lib/padrino-gen/generators/app/config/apps.rb.tt
padrino-gen-0.7.7 lib/padrino-gen/generators/app/config/apps.rb.tt
padrino-gen-0.7.6 lib/padrino-gen/generators/app/config/apps.rb.tt
padrino-gen-0.7.5 lib/padrino-gen/generators/app/config/apps.rb.tt
padrino-gen-0.7.4 lib/padrino-gen/generators/app/config/apps.rb.tt
padrino-gen-0.7.3 lib/padrino-gen/generators/app/config/apps.rb.tt