diff --git a/app/controllers/docs_controller.rb b/app/controllers/docs_controller.rb index c246b15..9ce7e71 100644 --- a/app/controllers/docs_controller.rb +++ b/app/controllers/docs_controller.rb @@ -1,7 +1,7 @@ class DocsController < ApplicationController layout 'docs' - rescue_from ActionView::MissingTemplate, :with => :not_found + rescue_from ActionView::MissingTemplate, with: :handle_not_found def show @current_category = params[:page].to_sym