Class: Caboose::CaboosePlugin
- Inherits:
-
Object
- Object
- Caboose::CaboosePlugin
- Defined in:
- app/models/caboose/caboose_plugin.rb
Direct Known Subclasses
Class Method Summary collapse
- .admin_nav(nav, user, page, site) ⇒ Object
- .login_success(return_url, user_id) ⇒ Object
- .page_content(str) ⇒ Object
- .post_content(post) ⇒ Object
Class Method Details
.admin_nav(nav, user, page, site) ⇒ Object
11 12 13 |
# File 'app/models/caboose/caboose_plugin.rb', line 11 def self.admin_nav(nav, user, page, site) return nav end |
.login_success(return_url, user_id) ⇒ Object
15 16 17 |
# File 'app/models/caboose/caboose_plugin.rb', line 15 def self.login_success(return_url, user_id) return return_url end |
.page_content(str) ⇒ Object
3 4 5 |
# File 'app/models/caboose/caboose_plugin.rb', line 3 def self.page_content(str) return str end |
.post_content(post) ⇒ Object
7 8 9 |
# File 'app/models/caboose/caboose_plugin.rb', line 7 def self.post_content(post) return post end |