Norbert Melzer wrote in post #1110888:
> Have you a route to a corresponding controller in general? Have you a
> controller? Does this controller work when you try to deliver an HTML
> view?
Yes.
> Oh, and when you want to have a js response, then you must use
> /test/index.js, without the extension given rails will try to deliver
> HTML
I know. You mean index.js.erb?
> (if you haven't configured it to do something else). Do you get an error
> message in server logs or browser when you try to access your ressource?
> Which one?
No error messages.
>
> Answer this questions as exactly as possible or we can't help.
Thank you for your help. Should this basic example work, onload? Or
should I skip extra js-files?
> Am 01.06.2013 11:52 schrieb "Paul Bergstrom" <lists@ruby-forum.com>:
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/63a65394b5dda4a8c29eef2202e4c8d6%40ruby-forum.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment