#
# this is how to use action_controller routes in a class/module other that the
# rails' view and controller classes
#

  class C
    ActionController::Routing::Routes.install_helpers C

    def initialize
      @home_path = home_path
    end
  end