title: Unfamiliar error: ActionController::RoutingError at /show uninitialized constant UserController?
body: <p>I am getting this error:</p>
  
  <pre><code>ActionController::RoutingError at /show
  
  uninitialized constant UserController
  </code></pre>
  
  <p>I have checked my routes, and controller several times and they seem fine so I will post them below</p>
  
  <pre><code>class UsersController &lt; ApplicationController
    def index
      @users = User.all
    end
  
    def show
      @user = User.find(params[:id])
    end
  
    def user_params
      params.require(:user).permit(:image, :name)
    end
   end
  </code></pre>
  
  <p>the route:</p>
  
  <pre><code>get 'index' =&gt; 'users#index'
  get 'show' =&gt; 'user#show'
  </code></pre>
  
  <p>the attempted link to the show page from the index view:</p>
  
  <pre><code>&lt;h4 class="media-heading"&gt;&lt;%= link_to user.name, show_path %&gt;&lt;/h4&gt;
  </code></pre>
  
  <p>Thanks for the help, will gladly post more info if needed.</p>