Sha256: 8eb676acfc8e487ade2cd480cf37d5b255439281de6c3bf34625a34521d3a6f2

Contents?: true

Size: 195 Bytes

Versions: 2

Compression:

Stored size: 195 Bytes

Contents

class ApplicationController < Sinatra::Base
  helpers ApplicationHelper if defined? ApplicationHelper

  maintenance do
    static '/maintenance.html'
  end

  get '/' do
    erb :index
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eucalypt-0.5.1 lib/eucalypt/core/templates/eucalypt/app/controllers/application_controller.rb
eucalypt-0.5.0 lib/eucalypt/core/templates/eucalypt/app/controllers/application_controller.rb