Class: Godmin::GodminResolver

Inherits:
Resolver
  • Object
show all
Defined in:
lib/godmin/resolver.rb

Instance Attribute Summary

Attributes inherited from Resolver

#controller_name, #namespace

Instance Method Summary collapse

Methods inherited from Resolver

#find_templates, #template_paths

Constructor Details

#initialize(controller_name) ⇒ GodminResolver

Returns a new instance of GodminResolver.



40
41
42
43
44
# File 'lib/godmin/resolver.rb', line 40

def initialize(controller_name)
  super [Godmin::Engine.root, "app/views"].compact.join("/")
  self.namespace       = "godmin"
  self.controller_name = controller_name
end