From 84645da35b42ab4fc32be6e2981c1ae80ea74b03 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Thu, 26 Jun 2014 18:47:07 +0000 Subject: [PATCH] Typo fix --- app/controllers/public/content_viewer_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/public/content_viewer_controller.rb b/app/controllers/public/content_viewer_controller.rb index 5a4a86a..f5bccbb 100644 --- a/app/controllers/public/content_viewer_controller.rb +++ b/app/controllers/public/content_viewer_controller.rb @@ -17,7 +17,7 @@ class ContentViewerController < ApplicationController return if redirected_to_profile_index else @page = profile.articles.find_by_path(path) - return if redirecetd_page_from_old_path(path) + return if redirected_page_from_old_path(path) end return unless allow_access_to_page(path) @@ -161,7 +161,7 @@ class ContentViewerController < ApplicationController return false end - def redirecetd_page_from_old_path(path) + def redirected_page_from_old_path(path) unless @page page_from_old_path = profile.articles.find_by_old_path(path) if page_from_old_path -- libgit2 0.21.2