Sha256: 319c412b8612dd103ecf65bcfa64576f7cd13b6ba2fc52f01bec54caa3bebc0e
Contents?: true
Size: 737 Bytes
Versions: 5
Compression:
Stored size: 737 Bytes
Contents
puts "Loading Production Environment" # Get Access Pancake.configuration.configs(<%= stack_name.camel_case %> ) do |config| # config.foo = :foo end # Allows Pancake to selectively apply middlewares in the stack. # If a middleware is not declared with a specific stack label then it will always be loaded # You can specify Middleware to be active under particular stack labels only however. # # Example # <%= stack_name.camel_case %>.stack(:my_middlware, :labels => [:demo, :development]).use(Middlware, :with => :opts) # # This would only include the middleware Middlware in stacks with either the :demo, or :development label # # Setting The Pancake.stack_labels will use any relevant stacks Pancake.stack_labels = [:production]
Version data entries
5 entries across 5 versions & 2 rubygems