# Routing Error with RJS

**URL:** <https://www.ruby-forum.com/t/routing-error-with-rjs/136598>\
**Category:** Rails\
**Created:** [May 4, 2008, 7:29am UTC](https://www.ruby-forum.com/t/routing-error-with-rjs/136598 "2008-05-04T07:29:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![OhMyRuby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/0ea827/32.png) [@OhMyRuby](https://www.ruby-forum.com/u/OhMyRuby)\
**Post date:** [May 4, 2008, 7:29am UTC](https://www.ruby-forum.com/t/routing-error-with-rjs/136598/1 "2008-05-04T07:29:52Z")

</div>

I really need some help using RJS.

[http://ip:3000/thoughts/log.rjs](http://ip:3000/thoughts/log.rjs) or  
[http://ip:3000/thoughts/log.js](http://ip:3000/thoughts/log.js)

give me a No route matches “/thoughts/log.rjs” with {:method=\>get}

log.rjs and log.js are both in the thoughts view

routes.rb is

map.connect ‘:controller/:action/:id’  
map.connect ‘:controller/:action/:id.:format’

---

<div class="post-metadata">

**Author:** ![OhMyRuby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/0ea827/32.png) [@OhMyRuby](https://www.ruby-forum.com/u/OhMyRuby)\
**Post date:** [May 4, 2008, 4:50pm UTC](https://www.ruby-forum.com/t/routing-error-with-rjs/136598/2 "2008-05-04T16:50:53Z")

</div>

Anyone?

Do I need to create a mime type for .rjs ?

---

<div class="post-metadata">

**Author:** ![OhMyRuby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/0ea827/32.png) [@OhMyRuby](https://www.ruby-forum.com/u/OhMyRuby)\
**Post date:** [May 5, 2008, 6:49am UTC](https://www.ruby-forum.com/t/routing-error-with-rjs/136598/3 "2008-05-05T06:49:48Z")

</div>

is thoughts a controller?
