title: The action 'create' could not be found for UsersController
body: <p>I am doing Chapter 7 of Michael Hartl's Rails tutorial, and I am getting errors when trying to sign up a user in development.  I have finished the chapter through 7.3 so all of my tests should be passing now, but I'm still receiving <code>The action 'create' could not be found for UsersController</code> in development.  </p>
  
  <p>Here is my Users Controller </p>
  
  <pre><code>class UsersController &lt; ApplicationController
  
    def show
      @user = User.find(params[:id])
    end
  
    def new
      @user = User.new
  
    def create
      @user = User.new(user_params)
      if @user.save
        flash[:success] = "Welcome to the Sample App!"
        redirect_to @user
      else
        render 'new'
      end
    end
  
      def user_params
        params.require(:user).permit(:name, :email, :password,
                                     :password_confirmation)
      end
      end     
  end
  </code></pre>
  
  <p>At this point in the tutorial I should be able to sign a user up in the online form without issue.  Here is my github repository <a href="https://github.com/ajhausdorf/sample_app" rel="nofollow">https://github.com/ajhausdorf/sample_app</a> </p>