Création initiale du projet Amber
This commit is contained in:
6
src/controllers/application_controller.cr
Normal file
6
src/controllers/application_controller.cr
Normal file
@ -0,0 +1,6 @@
|
||||
require "jasper_helpers"
|
||||
|
||||
class ApplicationController < Amber::Controller::Base
|
||||
include JasperHelpers
|
||||
LAYOUT = "application.slang"
|
||||
end
|
5
src/controllers/home_controller.cr
Normal file
5
src/controllers/home_controller.cr
Normal file
@ -0,0 +1,5 @@
|
||||
class HomeController < ApplicationController
|
||||
def index
|
||||
render("index.slang")
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user