Nope, the first declaration in the routes file always takes precedence. On Mon, Mar 1, 2010 at 8:58 AM, Matt <[email protected]> wrote:
> Thanks, that did the trick. I have to admit, I'm surprised this > happens before the CE routes call. Why is that? I would have thought > it should be done after, to overwrite whatever CE has defined. > > -Matt > > On Mar 1, 8:49 am, Bruno Bornsztein <[email protected]> > wrote: > > map.my_home '/', :controller => 'my_controller', :action => 'main' > > > > (*before* the map.routes_from_plugin :community_engine call) > > > > On Mon, Mar 1, 2010 at 8:47 AM, Matt <[email protected]> wrote: > > > I'm unfamiliar with desert and how CE works as a plugin... but I was > > > trying to set my default route to be something other than base/ > > > site_index, and nothing seems to be taking. I tried: > > > > > map.root :controller => "home", :action => "main" > > > > > after the map.routes_from_plugin :community_engine call, but that > > > didn't work. Any suggestions? > > > > > -Matt > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "CommunityEngine" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<communityengine%[email protected]> > <communityengine%[email protected]<communityengine%[email protected]> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/communityengine?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "CommunityEngine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<communityengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/communityengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/communityengine?hl=en.
