Rails route for current user's profile page
<p>I'm looking for advice on the best way to create paths for a current user's profile page.  Currently I only have users as a resource.  You can visit any user's profile page by going to /users/:user_id.  I also have member routes, for example, /users/:user_id/followers.  I would like to be able to have the routes /profile and /profile/followers that will bring the current user to their profile page.  So if my user id was 5 I could go to /profile and it would bring me to the same page as /users/5.  </p>

<p>Note: I am also using devise</p>

<p>routes</p>

<pre><code>  resources :users, only: [:show, :update] do
    member do
      get :following, :followers
    end
  end
</code></pre>

<p>users_controller</p>

<pre><code>  def show
    @user = User.find(params[:id])
  end

  def followers
    @user = User.find(params[:id])
    @title = "Followers"
    @users = @user.followers.active

    render 'show'
  end

  def following
    @user = User.find(params[:id])
    @title = "Following"
    @users = @user.followed_users.active

    render 'show'
  end
</code></pre>

<p>Is there a way I can use the users controller and the same actions</p>