Class: Admin::Changes::StudentChangesController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/gaku/admin/changes/student_changes_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



7
8
9
10
# File 'app/controllers/gaku/admin/changes/student_changes_controller.rb', line 7

def index
  @count = Gaku::Versioning::StudentVersion.count
  @changes = Kaminari.paginate_array(Gaku::Versioning::StudentVersion.all).page(params[:page])
end