Class: Spree::Events::ErrorsController
- Inherits:
-
Admin::BaseController
- Object
- Admin::BaseController
- Spree::Events::ErrorsController
- Defined in:
- app/controllers/spree/events/errors_controller.rb
Instance Method Summary collapse
Instance Method Details
#authorize_admin ⇒ Object
override
7 |
# File 'app/controllers/spree/events/errors_controller.rb', line 7 def ; end |
#forbidden ⇒ Object
9 10 11 12 |
# File 'app/controllers/spree/events/errors_controller.rb', line 9 def forbidden @error = 'Forbidden Access' @message = "You're either not a organizer or the event isn't belonging to you." end |
#resource_not_found ⇒ Object
14 15 16 |
# File 'app/controllers/spree/events/errors_controller.rb', line 14 def resource_not_found @message = 'Resources you are looking are not found.' end |