Commit 84645da35b42ab4fc32be6e2981c1ae80ea74b03
1 parent
e387ff00
Exists in
staging
and in
42 other branches
Typo fix
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/controllers/public/content_viewer_controller.rb
| ... | ... | @@ -17,7 +17,7 @@ class ContentViewerController < ApplicationController |
| 17 | 17 | return if redirected_to_profile_index |
| 18 | 18 | else |
| 19 | 19 | @page = profile.articles.find_by_path(path) |
| 20 | - return if redirecetd_page_from_old_path(path) | |
| 20 | + return if redirected_page_from_old_path(path) | |
| 21 | 21 | end |
| 22 | 22 | |
| 23 | 23 | return unless allow_access_to_page(path) |
| ... | ... | @@ -161,7 +161,7 @@ class ContentViewerController < ApplicationController |
| 161 | 161 | return false |
| 162 | 162 | end |
| 163 | 163 | |
| 164 | - def redirecetd_page_from_old_path(path) | |
| 164 | + def redirected_page_from_old_path(path) | |
| 165 | 165 | unless @page |
| 166 | 166 | page_from_old_path = profile.articles.find_by_old_path(path) |
| 167 | 167 | if page_from_old_path | ... | ... |