Class: MauthInitializerTemplate
- Inherits:
-
DiceBag::AvailableTemplates
- Object
- DiceBag::AvailableTemplates
- MauthInitializerTemplate
- Defined in:
- lib/mauth/dice_bag/mauth_templates.rb
Instance Method Summary collapse
Instance Method Details
#templates ⇒ Object
18 19 20 |
# File 'lib/mauth/dice_bag/mauth_templates.rb', line 18 def templates [File.join(File.dirname(__FILE__), 'mauth.rb.dice')] if Object.const_defined?(:Rails) end |
#templates_location ⇒ Object
14 15 16 |
# File 'lib/mauth/dice_bag/mauth_templates.rb', line 14 def templates_location 'config/initializers' end |