as Bruno said, try overriding the BaseController#find_user action.  If you
really want posts as your priority when the url is http://url.com/post_title,
try this

def find_user
    if @post = Post.find_by_name(params[:user_id] || params[:id])
      redirect_to @post and return
    elsif @user = User.active.find(params[:user_id] || params[:id])
      ... default BaseController#find_user implementation
    end
  end

disclaimer: i haven't tried this code yet. just a quick implementation out
of my head

But as Bruno said (again), this is not recommended.

--

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=.


Reply via email to