Sha256: 111d36baf72c8e26b2453cd408ab83a0adbda956ac35f711929f8808f389aefd

Contents?: true

Size: 192 Bytes

Versions: 8

Compression:

Stored size: 192 Bytes

Contents

class ApplicationController < Sinatra::Base
  register Sinatra::ActiveRecordExtension
  set :session_secret, "my_application_secret"
  set :views, Proc.new { File.join(root, "../views/") }
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
learn-generate-1.0.16 lib/templates/sinatra-mvc/app/controllers/application_controller.rb
learn-generate-1.0.15 lib/templates/sinatra-mvc/app/controllers/application_controller.rb
learn-generate-1.0.14 lib/templates/sinatra-mvc/app/controllers/application_controller.rb
learn-generate-1.0.13 lib/templates/sinatra-mvc/app/controllers/application_controller.rb
learn-generate-1.0.12 lib/templates/sinatra-mvc/app/controllers/application_controller.rb
learn-generate-1.0.11 lib/templates/sinatra-mvc/app/controllers/application_controller.rb
learn-generate-1.0.1 lib/templates/sinatra-mvc/app/controllers/application_controller.rb
learn-generate-1.0.0 lib/templates/sinatra-mvc/app/controllers/application_controller.rb