title: Rails - How to connect Helper to Controller Module
body: <p>I have helper:</p>
  
  <pre><code>module BreadcrumbsHelper
    def breadcrumbs_cache_wrap(key, options, &amp;block)
      ...
    end
  end
  </code></pre>
  
  <p>And i extract part of Controller to module:</p>
  
  <pre><code>module ApplicationController::Breadcrumbs
  
    def default_breadcrumbs
    ...
  end
  
  class ApplicationController &lt; ActionController::Base
    include ApplicationController::Breadcrumbs
  
    ...
  end
  </code></pre>
  
  <p>Now i want to connect Helper to Controller. I can do it like this:</p>
  
  <pre><code>class ApplicationController
    include ApplicationController::Breadcrumbs
    helper :breadcrumbs
  
    ...
  end
  </code></pre>
  
  <p>It's working. <strong>The question is how to incapsulate connection to Breadcrumbs Module?</strong> </p>
  
  <pre><code>module ApplicationController::Breadcrumbs     
    helper :breadcrumbs
  
    ...
  end
  </code></pre>
  
  <p>Unfortunately this code is not working "undefined method `helper'".</p>