Class: Cms::Link
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Cms::Link
- Defined in:
- app/models/cms/link.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#path ⇒ Object
needed by menu_helper.
Methods included from Concerns::Addressable::DeprecatedPageAccessors
#build_node, #section, #section=, #section_id, #section_id=
Class Method Details
.permitted_params ⇒ Object
17 18 19 |
# File 'app/models/cms/link.rb', line 17 def self.permitted_params super + [:publish_on_save] end |
Instance Method Details
#path ⇒ Object
needed by menu_helper
12 13 14 |
# File 'app/models/cms/link.rb', line 12 def path url end |