Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed railtie problem

  • Loading branch information...
commit 89f95bfec07b66fb49aedb8c7dec469d7c8ca2d2 1 parent 3b881d1
@mynameisrufus authored
View
2  README.markdown
@@ -1,7 +1,5 @@
# sorted
-currently not working!
-
This wee gem lets you sort tables (or somthing else) using a view helper and a custom scope.
It will toggle your sort order for you and will even work across pages with `will_paginate`
View
2  VERSION
@@ -1 +1 @@
-0.1.0
+0.2.0
View
2  lib/sorted/railtie.rb
@@ -9,7 +9,7 @@ class Railtie < Rails::Railtie
initializer "sorted.action_view" do |app|
require 'sorted/action_view'
- ActionView::Base.send(:include, Sorted::ActionView)
+ ::ActionView::Base.send(:include, Sorted::ActionView)
end
end
end
View
3  sorted.gemspec
@@ -24,6 +24,9 @@ Gem::Specification.new do |s|
"Rakefile",
"VERSION",
"lib/sorted.rb",
+ "lib/sorted/action_view.rb",
+ "lib/sorted/active_record.rb",
+ "lib/sorted/railtie.rb",
"sorted.gemspec",
"spec/sorted_spec.rb",
"spec/spec_helper.rb"
Please sign in to comment.
Something went wrong with that request. Please try again.