2018-09-03 21:08:32 +00:00
|
|
|
require "jasper_helpers"
|
|
|
|
|
|
|
|
class ApplicationController < Amber::Controller::Base
|
|
|
|
include JasperHelpers
|
|
|
|
LAYOUT = "application.slang"
|
2018-09-04 10:49:20 +00:00
|
|
|
|
|
|
|
# Set content-type to HTML
|
|
|
|
before_action do
|
|
|
|
all { context.response.content_type = "text/html" }
|
|
|
|
end
|
2018-09-03 21:08:32 +00:00
|
|
|
end
|