lib/vundabar/routing/routing.rb in vundabar-0.1.0 vs lib/vundabar/routing/routing.rb in vundabar-0.2.0
- old
+ new
@@ -45,10 +45,10 @@
def endpoints
@endpoints ||= Hash.new { |hash, key| hash[key] = [] }
end
def controller_and_action(to)
- controller, action = to.split('#')
+ controller, action = to.split("#")
controller = "#{controller.to_camel_case}Controller"
[controller, action]
end
end
end