templates/app/controllers/application_controller.rb in cybele-0.7.0 vs templates/app/controllers/application_controller.rb in cybele-0.8.0
- old
+ new
@@ -1,9 +1,10 @@
require 'application_responder'
class ApplicationController < ActionController::Base
self.responder = ApplicationResponder
respond_to :html, :json
+ WillPaginate.per_page = 10
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
protect_from_forgery with: :exception
\ No newline at end of file