#

API Docs for: v2.11.1
Show: Inherited Protected Private Deprecated

# File: packages/ember-routing/lib/system/controller_for.js

    /**
    @module ember
    @submodule ember-routing
    */

    /**
      Finds a controller instance.

      @for Ember
      @method controllerFor
      @private
    */
    export default function controllerFor(container, controllerName, lookupOptions) {
      return container.lookup(`controller:${controllerName}`, lookupOptions);
    }