diff --git a/app/controllers/static_controller.rb b/app/controllers/static_controller.rb index 08e456c6..40af16b4 100644 --- a/app/controllers/static_controller.rb +++ b/app/controllers/static_controller.rb @@ -1,7 +1,6 @@ class StaticController < ApplicationController INSTALL_SCRIPT = "curl -sSL https://raw.githubusercontent.com/CanineHQ/canine/refs/heads/main/install/install.sh | bash" skip_before_action :authenticate_user! - layout false, only: %i[docs swagger] ILLUSTRATIONS = [ { src: "/images/illustrations/design_2.webp", @@ -65,6 +64,7 @@ class StaticController < ApplicationController end def docs + render "static/docs", layout: false end def swagger