app/controllers/naf/application_schedules_controller.rb in naf-2.1.5 vs app/controllers/naf/application_schedules_controller.rb in naf-2.1.6
- old
+ new
@@ -1,11 +1,15 @@
module Naf
class ApplicationSchedulesController < Naf::ApplicationController
+ before_filter :set_rows_per_page
+
def index
respond_to do |format|
format.html
format.json do
+ set_page
+
application_schedules = []
application_schedule = []
@total_records = Naf::ApplicationSchedule.count(:all)
Logical::Naf::ApplicationSchedule.search(params).map(&:to_hash).map do |hash|
hash.map do |key, value|