Class: Pbw::AreasController

Inherits:
BaseModelsController show all
Defined in:
app/controllers/pbw/areas_controller.rb

Instance Attribute Summary

Attributes inherited from BaseModelsController

#model_class

Instance Method Summary collapse

Methods inherited from BaseModelsController

#create, #destroy, #index, #index_models, #model_for_create, #model_for_read, #model_for_update, #model_id, #real_model_class, #show, #update, #update_model_before_create, #update_model_before_update

Methods inherited from BaseController

#current_ability

Instance Method Details

#set_model_classObject



3
4
5
# File 'app/controllers/pbw/areas_controller.rb', line 3

def set_model_class
	self.model_class = Area
end