annotate .svn/pristine/db/dbd27b2d43c3f418a10ceae5e4a72e0cd0b0a99c.svn-base @ 1327:287f201c2802 redmine-2.2-integration

Add italic
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 19 Jun 2013 20:56:22 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 #--
Chris@909 2 # Copyright (c) 2004-2006 David Heinemeier Hansson
Chris@909 3 #
Chris@909 4 # Permission is hereby granted, free of charge, to any person obtaining
Chris@909 5 # a copy of this software and associated documentation files (the
Chris@909 6 # "Software"), to deal in the Software without restriction, including
Chris@909 7 # without limitation the rights to use, copy, modify, merge, publish,
Chris@909 8 # distribute, sublicense, and/or sell copies of the Software, and to
Chris@909 9 # permit persons to whom the Software is furnished to do so, subject to
Chris@909 10 # the following conditions:
Chris@909 11 #
Chris@909 12 # The above copyright notice and this permission notice shall be
Chris@909 13 # included in all copies or substantial portions of the Software.
Chris@909 14 #
Chris@909 15 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
Chris@909 16 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
Chris@909 17 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
Chris@909 18 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
Chris@909 19 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
Chris@909 20 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
Chris@909 21 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Chris@909 22 #++
Chris@909 23
Chris@909 24 require 'pagination'
Chris@909 25 require 'pagination_helper'
Chris@909 26
Chris@909 27 ActionController::Base.class_eval do
Chris@909 28 include ActionController::Pagination
Chris@909 29 end
Chris@909 30
Chris@909 31 ActionView::Base.class_eval do
Chris@909 32 include ActionView::Helpers::PaginationHelper
Chris@909 33 end