diff --git a/app/controllers/tutorials_controller.rb b/app/controllers/tutorials_controller.rb index ddfdbcc..d6eeaab 100755 --- a/app/controllers/tutorials_controller.rb +++ b/app/controllers/tutorials_controller.rb @@ -3,7 +3,9 @@ class TutorialsController < ApplicationController skip_before_action :has_info skip_before_action :authenticated - layout false, only: [:credentials] + def credentials + # Render credentials page with layout + end # VULNERABILITY: Regular Expression Denial of Service (ReDoS) # This endpoint demonstrates how malicious input can cause catastrophic backtracking diff --git a/app/views/layouts/shared/_header.html.erb b/app/views/layouts/shared/_header.html.erb index 08ab102..ae557c6 100755 --- a/app/views/layouts/shared/_header.html.erb +++ b/app/views/layouts/shared/_header.html.erb @@ -81,9 +81,9 @@