Permalink
Browse files

Removed junk. Fixed naming.

  • Loading branch information...
1 parent 119180c commit 5c8613d2fa7d0a629906d28220210f5e0102be27 @ratnikov ratnikov committed Feb 27, 2009
Showing with 2 additions and 7 deletions.
  1. +2 −7 README.rdoc
View
@@ -17,9 +17,9 @@ To install, run the <tt>ajax_resource:rails:install</tt> task:
This will install <tt>ajax_resource-src.js</tt> and <tt>ajax_resource-min.js</tt> to <tt>Rails.root/public/javascripts</tt> directory.
-= AjaxResource.NewForm
+= AjaxResource.Form
-<tt>AjaxResource.NewForm</tt> allows to make a form handle submission and error handling of an AjaxResource.
+<tt>AjaxResource.Form</tt> allows to make a form handle submission and error handling of an AjaxResource.
== Example
@@ -43,11 +43,6 @@ In your story.js file you would need to specify the <tt>Story</tt> resource with
// initialize the AjaxResource.Base functionality
AjaxResource.Base.apply(this, [ { resource : 'story', controller : 'stories' } ]);
- resource_name: 'story',
- singular_path: '/story',
- plural_path: '/stories', // need to specify plural since it's not storys
- prefix: '/user' // if the full routing for index something like: /user/stories
- });
};
// include the AjaxResource.Base functionality

0 comments on commit 5c8613d

Please sign in to comment.