Use alias_method instead of defining an alias method for current_page
gsub to sub