lib/classic_pagination.rb in classic_pagination-1.0.2 vs lib/classic_pagination.rb in classic_pagination-1.0.3
- old
+ new
@@ -19,11 +19,14 @@
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#++
-require 'pagination'
-require 'pagination_helper'
+require 'yaml'
+require 'active_support'
+require 'actionpack'
+require_relative 'pagination'
+require_relative 'pagination_helper'
ActionController::Base.class_eval do
include ActionController::Pagination
end