Sha256: bd021e8eb23e15ab234a5f1a79dacf270a21c3b9579e30fca6e954f3c5910d26

Contents?: true

Size: 462 Bytes

Versions: 1

Compression:

Stored size: 462 Bytes

Contents

require 'luban/rack'

module Luban
  module Deployment
    module Applications
      class Rails < Luban::Deployment::Applications::Rack
        protected

        def include_default_templates_path
          super
          default_templates_paths.unshift(base_templates_path(__FILE__))
        end

        def set_default_application_parameters
          super
          linked_files.push('database.yml', 'secrets.yml')
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
luban-rails-0.1.0 lib/luban/deployment/applications/rails/base.rb