Any ideas folks?

On Jul 26, 10:32 pm, "rails.n...@gmail.com" <rails.n...@gmail.com>
wrote:
> Hi
>
> I accept that partials are not intended to be exposed via a URL
>
> However I'd like to load my basic _form.html.erb partial for my model
> to build basic AJAX form
>
> So one way to do this is to put something like this in the controller:
>
> def basic_form
>   render :partial=>"form"
> end
>
> ...... but...... is there a cleaner way?
>
> cheers

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to