Files
adamantium/config/routes.rb
2024-02-21 21:48:44 +11:00

14 lines
281 B
Ruby

# frozen_string_literal: true
require "hanami/middleware/body_parser"
module Adamantium
class Routes < Hanami::Routes
use Hanami::Middleware::BodyParser, [:form, :json]
slice :main, at: "/"
slice :admin, at: "/admin"
slice :micropub, at: "/micropub"
end
end