Class: Cardboard::Template
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Cardboard::Template
- Defined in:
- app/models/cardboard/template.rb
Instance Method Summary collapse
Instance Method Details
#name ⇒ Object
16 17 18 |
# File 'app/models/cardboard/template.rb', line 16 def name self[:name] || self.identifier end |
#reload_routes ⇒ Object
12 13 14 |
# File 'app/models/cardboard/template.rb', line 12 def reload_routes DynamicRouter.reload end |