Modify your routes.rb file (not CE's) and make sure you declare your
producers routes before the CE declarations.

On Wed, Apr 21, 2010 at 9:57 AM, Colm <[email protected]> wrote:

> Hello,
>
> I have a pure CE site running installed as a plugin. The webapp that
> it is plugged into is empty. I now want to create standard rails
> content, i.e. created with scaffolding in the app directory. When I
> run this on localhost it works fine and http://localhost:3000/producers
> shows me a table full of data as expected.
>
> When I upload this to heroku, the new controller is no longer accessed
> and I am redirected to the user login screen. The Heroku log shows
> me ...
>
> Processing UsersController#show (for 109.76.13.95 at 2010-04-21
> 07:54:11) [GET]
>  Parameters: {"id"=>"producers"}
> Redirected to http://www.ttennis.org/login
> Filter chain halted as [:find_user] rendered_or_redirected.
> Completed in 7ms (DB: 50) | 302 Found [http://www.ttennis.org/
> producers]
>
> So the heroku version automatically send me to the UsersController
> where user "producers" doesn't exist.
>
> I guess that this is related to the routes.rb file but am not clear
> whether I should modify the file in the plugin or in the config/
> directory.
>
> Any advice ?
>
> Regards / Colm
>
> --
> 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.

Reply via email to