Method: Frontline::Helpers#controllers

Defined in:
lib/frontline/helpers.rb

#controllersObject

return the list of controllers for effective application



25
26
27
28
29
30
# File 'lib/frontline/helpers.rb', line 25

def controllers
  return CONTROLLERS[dst_path.root] if CONTROLLERS[dst_path.root]
  result = enginery_registry(:c)
  return CONTROLLERS[dst_path.root] = result if result.is_a?(Hash)
  result
end