Class: Spree::Admin::VariantsIncludingMasterController

Inherits:
VariantsController show all
Defined in:
app/controllers/spree/admin/variants_including_master_controller.rb

Instance Method Summary collapse

Methods inherited from ResourceController

belongs_to, #create, #destroy, #edit, #new, #update, #update_positions

Methods included from SetsUserLanguageLocaleKey

#set_user_language_locale_key

Instance Method Details

#model_classObject



6
7
8
# File 'app/controllers/spree/admin/variants_including_master_controller.rb', line 6

def model_class
  Spree::Variant
end

#object_nameObject



10
11
12
# File 'app/controllers/spree/admin/variants_including_master_controller.rb', line 10

def object_name
  "variant"
end