carnetdejeu-crystal/src/controllers/application_controller.cr

12 lines
250 B
Crystal

require "jasper_helpers"
class ApplicationController < Amber::Controller::Base
include JasperHelpers
LAYOUT = "application.slang"
# Set content-type to HTML
before_action do
all { context.response.content_type = "text/html" }
end
end