Sha256: 83a74c057a1aae2c086680b91bb0d4d141a84c2d3cdcc4e40b2b414d8cd36aa7
Contents?: true
Size: 450 Bytes
Versions: 11
Compression:
Stored size: 450 Bytes
Contents
require 'ajax' module Ajax module Routes # In your <tt>config/routes.rb</tt> file call: # Ajax::Routes.draw(map) # Passing in the routing <tt>map</tt> object. # # Adds an <tt>ajax_framework_path</tt> pointing to <tt>Ajax.framework_path</tt> # which is <tt>/ajax/framework</tt> by default. def self.draw(map) map.ajax_framework Ajax.framework_path, :controller => 'ajax', :action => 'framework' end end end
Version data entries
11 entries across 11 versions & 1 rubygems