title: Rails - The url redirect me on the wrong user
body: <p>I have an app where a <strong>user</strong> can suggest some <strong>trips</strong>.</p>
  
  <p>As the current user I want to visit his profile.
  I am kinda stuck because I arrive on my own profile...
  The nickname is well displayed,but the url redirect on the current user.</p>
  
  <pre><code>&lt;div class="container"&gt;
        &lt;h1&gt;&lt;%= @trip.name %&gt;&lt;/h1&gt;
          &lt;% if current_user.id == @trip.user.id %&gt;
            &lt;%= link_to  "Edit", edit_meal_path(@trip), class: "btn btn-warning"  %&gt;
          &lt;% end %&gt;
    &lt;div class="row"&gt;
      &lt;div class="col-xs-6"&gt;
         &lt;!--probleme is right below  --&gt;
        &lt;h3&gt;Suggested by &lt;%= link_to @trip.user.nickname, user_path(@trip.user)%&gt;&lt;/h3&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How to redirect on the guy who suggested the trip's profile??</p>
  
  <p>my show action in my controller, I have a <strong>before_action</strong> set to find the trip_params</p>
  
  <pre><code>  def show
      @order = Order.new
      @review = Review.new
      @user = @trip.user
    end
  </code></pre>
  
  <h2>EDIT:</h2>
  
  <p>I tried to change the <code>id</code> in the <code>localhost:3000/users/2</code> but whatever the id number I add I stay on my current_user's profile</p>