On 1 June 2013 10:52, Paul Bergstrom wrote:
> Colin Law wrote in post #1110879:
>> On 1 June 2013 09:00, Paul Bergstrom wrote:
>>>
>>> Not sure how I can explain it better. It's a very simple example.
>>>
>>> When going with the browser to an action with a corresponding *.js.erb
>>> file should t
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?
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
(if you haven't
Colin Law wrote in post #1110879:
> On 1 June 2013 09:00, Paul Bergstrom wrote:
>>
>> Not sure how I can explain it better. It's a very simple example.
>>
>> When going with the browser to an action with a corresponding *.js.erb
>> file should the JavaScript in that file run, like alert("hello")?
3 matches
Mail list logo