title: ActionController::UrlGenerationError: No route matches
body: <p>I am receiving a no route matches error from the line <code>&lt;%= link_to "Ask User Out", askout_user_message_path(@user), :class =&gt; "button" %&gt;</code>.</p>
  
  <p>This used to work before I added a gem but now it stopped working. I tried moving under collection but I get no luck with that as that's where it used to be.</p>
  
  <p>Routes:</p>
  
  <pre><code> resources :users do |user|
  
   resources :messages do
     member do
       post :new
       get 'askout', action: 'askout'
     end
   end
    collection do
       get :trashbin
       post :empty_trash
  
  end
   end
  
   resources :conversations do
     member do
       post :reply
       post :trash
       post :untrash
     end
   end
  </code></pre>
  
  <p>Old Routes:</p>
  
  <pre><code> resources :users do |user|
  
      resources :messages do
        collection do
          post 'delete_multiple'
          get 'askout', action: 'askout'
          get 'reply', action: 'reply'
        end
      end
    end
  </code></pre>
  
  <p>My routes changed as I added mailboxer gem.</p>