# Using desert\_routes from a plugin in my own app?, no routes to match

**URL:** <https://www.ruby-forum.com/t/using-desert-routes-from-a-plugin-in-my-own-app-no-routes-to-match/189361>\
**Category:** Rails\
**Created:** [May 29, 2010, 7:22pm UTC](https://www.ruby-forum.com/t/using-desert-routes-from-a-plugin-in-my-own-app-no-routes-to-match/189361 "2010-05-29T19:22:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rubybox](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/85e7bf/32.png) [@rubybox](https://www.ruby-forum.com/u/rubybox)\
**Post date:** [May 29, 2010, 7:22pm UTC](https://www.ruby-forum.com/t/using-desert-routes-from-a-plugin-in-my-own-app-no-routes-to-match/189361/1 "2010-05-29T19:22:38Z")

</div>

I have migrated a vendor/plugins/community\_engine plugin from the  
vendor directory to my own directory since I require that many changes  
that its no longer a good idea to keep the vendor folder for it.

Everything works after some hiates only the stock desert\_routes.rb  
( [http://pastie.org/983312](http://pastie.org/983312) ) I cannot seem to link to my application.

Inside routes.rb in my app config folder there was listed something  
like

ActionController::Routing::Routes.draw do |map|  
map.routes\_from\_plugin :community\_engine  
map.connect ‘:controller/:action/:id’  
map.connect ‘:controller/:action/:id.:format’  
end

This would have previously loaded /vendor/plugins/community\_engine/  
config/desert\_routes.rb

Does anyone know how I can use these desert\_routes in my main app when  
I no longer use the vendor folder for community engine?  
Or if there is a way to convert them to regular routes.rb

I have tried to do something like

ActionController::Routing::Routes.draw do |map|  
map.routes\_from\_plugin :resource\_controller  
map.connect ‘:controller/:action/:id’  
map.connect ‘:controller/:action/:id.:format’  
end

Since resource\_controller is an existing plugin in my /vendor/plugins/  
resource\_controller  
thinking I was “smart” to try making it load this way, but this did  
not work.

Now my app just shows no routes on any action.  
Anyone can point me in the right direction to fix this? Many thanks in  
advanche
