module FoxPage::AppParts::Routes
Attributes
routes[R]
Public Instance Methods
draw_routes(&block)
click to toggle source
# File lib/fox_page/app_parts/routes.rb, line 14 def draw_routes(&block) @routes ||= {} @routes.merge!(Router.draw_routes(&block)) end
reload_routes!()
click to toggle source
# File lib/fox_page/app_parts/routes.rb, line 19 def reload_routes! @routes = {} load root.join("config", "routes.rb") end