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