Class: Spree::Telegram::ErrorsController
Instance Method Summary
collapse
#authorized_vendors, #authorizer_context, #handle_unauthorized_vendor, #required_telegram_vendor_user!
Instance Method Details
#forbidden ⇒ Object
6
7
8
|
# File 'app/controllers/spree/telegram/errors_controller.rb', line 6
def forbidden
@message = "You're either not a vendor user or the vendor isn't belonging to you."
end
|
#resource_not_found ⇒ Object
10
11
12
|
# File 'app/controllers/spree/telegram/errors_controller.rb', line 10
def resource_not_found
@message = 'Resources you are looking are not found.'
end
|