Sha256: dfa1dfeb9182932781b18b00db64ea68f4a0fbfcb4a5913dd7dd6afff58bd64f

Contents?: true

Size: 282 Bytes

Versions: 6

Compression:

Stored size: 282 Bytes

Contents

class Admin::VendorOverviewController < Spree::BaseController
  ssl_required

  helper :search
  helper 'admin/navigation'
  layout 'admin'

  before_filter :vendor

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spree_suppliers-1.0.4 app/controllers/admin/vendor_overview_controller.rb
spree_suppliers-1.0.3 app/controllers/admin/vendor_overview_controller.rb
spree_suppliers-1.0.2 app/controllers/admin/vendor_overview_controller.rb
spree_suppliers-1.0.1 app/controllers/admin/vendor_overview_controller.rb
spree_suppliers-0.0.1 app/controllers/admin/vendor_overview_controller.rb
spree_suppliers-0.60.3 app/controllers/admin/vendor_overview_controller.rb