Class: Spina::ApplicationRecord
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Spina::ApplicationRecord
- Defined in:
- app/models/spina/application_record.rb
Direct Known Subclasses
Account, Attachment, Image, MediaFolder, Navigation, NavigationItem, Page, Resource, RewriteRule, Setting, User
Instance Method Summary collapse
-
#to_partial_path ⇒ Object
Remove Spina namespace from partial paths.
Instance Method Details
#to_partial_path ⇒ Object
Remove Spina namespace from partial paths
6 7 8 |
# File 'app/models/spina/application_record.rb', line 6 def to_partial_path super.gsub(/\Aspina\//, "") end |