Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove now unused methods from Page (normalize_friendly_id_path and p…
…rotected_slug_string)
  • Loading branch information
awagener committed Nov 27, 2013
1 parent 08a5de8 commit 0e2eafe
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pages/app/models/refinery/page.rb
Expand Up @@ -389,14 +389,6 @@ def normalize_friendly_id_with_marketable_urls(slug_string)
end
alias_method_chain :normalize_friendly_id, :marketable_urls

def normalize_friendly_id_path(slug_string)
FriendlyIdPath.normalize_friendly_id_path(slug_string)
end

def protected_slug_string(slug_string)
FriendlyIdPath.protected_slug_string(slug_string)
end

def puts_destroy_help
puts "This page is not deletable. Please use .destroy! if you really want it deleted "
puts "unset .link_url," if link_url.present?
Expand Down

0 comments on commit 0e2eafe

Please sign in to comment.