title: Can't find View template in Rails?
body: <p>This is my <code>users_controller.rb</code> code:</p>
  
  <pre><code>  ...
    def edit
      @user = @current_user
    end
  
    def update
      @user = @current_user # makes our views "cleaner" and more consistent
      if @user.update_attributes(params[:user])
        flash[:notice] = "Account settings updated."
        redirect_back_or_default account_url
      else
        render :action =&gt; 'edit'
      end
    end
    ...
  </code></pre>
  
  <p>I have the following views/users:</p>
  
  <ol>
  <li>new.html.erb</li>
  <li>password.html.erb</li>
  <li>profile.html.erb</li>
  <li>show.html.erb</li>
  </ol>
  
  <p>Everytime I try to update my user account settings, the following pops up:</p>
  
  <pre><code>ActionView::MissingTemplate (Missing template users/edit.erb in view path app/views:vendor/plugins/admin_data/app/views):
    app/controllers/users_controller.rb:46:in `update'
  </code></pre>
  
  <p>It's not the fault of <code>admin_data</code> is you are curious. It's the controller. What have I done wrong? Thanks.</p>