Class: Admin::VendorOverviewController

Inherits:
Spree::BaseController
  • Object
show all
Defined in:
app/controllers/admin/vendor_overview_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



15
16
17
# File 'app/controllers/admin/vendor_overview_controller.rb', line 15

def index 
  
end

#vendorObject



10
11
12
13
14
# File 'app/controllers/admin/vendor_overview_controller.rb', line 10

def vendor 
  if !current_user.has_role?("vendor")
    unauthorized
  end
end