class Snippr::Normalizer::DeRester
Public Instance Methods
normalize(path_element)
click to toggle source
# File lib/snippr/normalizer/de_rester.rb, line 12 def normalize(path_element) case path_element.to_s when "create" then "new" when "update" then "edit" when "destroy" then "show" else path_element.to_s end end