Sha256: 3cea82d0d2628c1b583986bb6738a20cdb01dea643a064341aca72afcff397bd

Contents?: true

Size: 513 Bytes

Versions: 2

Compression:

Stored size: 513 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'

=end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
padrino-gen-0.1.3 lib/generators/skeleton/config/apps.rb.tt
padrino-gen-0.1.2 lib/generators/skeleton/config/apps.rb.tt