Class: Spree::Admin::CustomerNotificationsController
- Inherits:
-
ResourceController
- Object
- ResourceController
- Spree::Admin::CustomerNotificationsController
- Defined in:
- app/controllers/spree/admin/customer_notifications_controller.rb
Instance Method Summary collapse
Instance Method Details
#collection_url(options = {}) ⇒ Object
16 17 18 |
# File 'app/controllers/spree/admin/customer_notifications_controller.rb', line 16 def collection_url( = {}) admin_customer_notifications_url() end |
#index ⇒ Object
4 5 6 |
# File 'app/controllers/spree/admin/customer_notifications_controller.rb', line 4 def index @notifications = SpreeCmCommissioner::CustomerNotification.all end |
#model_class ⇒ Object
8 9 10 |
# File 'app/controllers/spree/admin/customer_notifications_controller.rb', line 8 def model_class SpreeCmCommissioner::CustomerNotification end |
#object_name ⇒ Object
12 13 14 |
# File 'app/controllers/spree/admin/customer_notifications_controller.rb', line 12 def object_name 'spree_cm_commissioner_customer_notification' end |