|
|
|
@ -672,10 +672,10 @@ class CoursesController < ApplicationController
|
|
|
|
|
page = 1 + offset / @limit
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
@feedback_count = @jours.count
|
|
|
|
|
@feedback_pages = Paginator.new @feedback_count, @limit, page
|
|
|
|
|
@offset ||= @feedback_pages.offset
|
|
|
|
|
@jour = @jours[@offset, @limit]
|
|
|
|
|
#@feedback_count = @jours.count
|
|
|
|
|
#@feedback_pages = Paginator.new @feedback_count, @limit, page
|
|
|
|
|
#@offset ||= @feedback_pages.offset
|
|
|
|
|
@jour = paginateHelper @jours,10
|
|
|
|
|
@state = false
|
|
|
|
|
respond_to do |format|
|
|
|
|
|
format.html{render :layout => 'base_courses'}
|
|
|
|
|