Fix 404 handling on docs pages

footer-fixes
Marcin Kulik 10 years ago
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…
Cancel
Save