Module: RestfulController::Actions::Index

Defined in:
lib/restful_controller/actions/index.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



4
5
6
# File 'lib/restful_controller/actions/index.rb', line 4

def index
  instance_variable_set("@#{self.class.model_name.pluralize}", self.class.model_class.all)
end