vendor/plugins/engines/lib/engines/rails_extensions/routing.rb
# Loads the set of routes from within a plugin and evaluates them at this
# point within an application's main <tt>routes.rb</tt> file.
#
# Plugin routes are loaded from <tt><plugin_root>/routes.rb</tt>.
Loads the set of routes from within a plugin and evaluates them at this
point within an application's main routes.rb file.

Plugin routes are loaded from /routes.rb.
Loads the set of routes from within a plugin and evaluates them at this point within an application ' s main routes . rb file . Plugin routes are loaded from / routes . rb .
def from_plugin(name)
    map = self 
    routes_path = Engines.plugins[name].routes_path
    Engines.logger.debug "loading routes from #{routes_path}"
    eval(IO.read(routes_path), binding, routes_path) if File.file?(routes_path)
  end
def from_plugin ( name ) map = self routes_path = Engines . plugins [ name ] . routes_path Engines . logger . debug "loading routes from #{routes_path}" eval ( IO . read ( routes_path ) , binding , routes_path ) if File . file? ( routes_path ) end
Loads the set of routes from within a plugin and evaluates them at this
point within an application's main <tt>routes.rb</tt> file.
Loads the set of routes from within a plugin and evaluates them at this point within an application ' s main <tt > routes . rb< / tt > file .
# to make 'map' available within the plugin route file
name
<not_specific>