title: Customizing Friendly_id URL
body: <p>First I am sorry for my English </p>
  
  <p>I am using Friendly_id gem to create Clean URL and it work just fine but instead of having a URL like this <code>http://localhost:3000/profile/jack-sparo</code> I want a URL like this <code>http://localhost:3000/profile/1/jack-sparo</code>where 1 is the user_id, so how can I do it?</p>
  
  <p>this is my config/routes</p>
  
  <pre><code>  get "profiles/show" 
  
    get '/profile/:id' =&gt; 'profiles#show', :as =&gt; :profile
    get 'profiles' =&gt; 'profiles#index'
  </code></pre>
  
  <p>and this is my Profile controller</p>
  
  <pre><code>  def show
      @user= User.find_by_slug(params[:id])
      if @user
          @posts= Post.all
          render action: :show
      else
          render file: 'public/404', status: 404, formats: [:html]
      end
    end
  </code></pre>