title: AbstractController::ActionNotFound - Strange error
body: <p>I'm facing a really strange routing error that I can't seem to work out in Rails 3.2.11</p>
  
  <p>The error is: AbstractController::ActionNotFound (The action 'bulk_submissions_url' could not be found for SubmissionsController)</p>
  
  <p>I have a route that looks like this:</p>
  
  <pre><code>match 'submissions/bulk_submissions_url' =&gt; 'submissions#bulk_submissions_url', :as =&gt; 'bulk_submissions_url', :via =&gt; :post
  </code></pre>
  
  <p>A SubmissionsController that looks like this:</p>
  
  <pre><code>class SubmissionsController &lt; ApplicationController
  
  ...
  def bulk_submissions_url
      if signed_in?
  
        #get the cert that the user has if they are returning to tutorial
        if current_user.enrollments and current_user.enrollments.length &gt; 0
          @enrollment = current_user.enrollments.last
        else
          #handle this
        end  
  
        @submission = Submission.create!(url: params[:url], description: "Please edit this description", work_type: "other", date_completed: DateTime.now.to_date)  
  
        if @submission.save
          @enrollment.submissions &lt;&lt; @submission
          render :json =&gt; { success: true, submission_id: @submission.id }
        else
          render :json =&gt; { success: false }
        end
  
      end
  end
  </code></pre>
  
  <p>And am placing a request with jQuery:</p>
  
  <pre><code>//save the submission
  $.ajax({
  type: 'POST',
      url: '&lt;%= bulk_submissions_url_path %&gt;',
      data: {url : $("#tutorial_add_work_url_input").val()},
      dataType: 'json'
  });
  </code></pre>
  
  <p>Is there something I'm missing?</p>
  
  <p>Thanks in advance!</p>