Fix 404 handling on docs pages
This commit is contained in:
parent
7921f5e729
commit
402529c60e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user