Permalink
Browse files

Updating gemspec

  • Loading branch information...
1 parent c08b007 commit 756ed747ffdaa853c3e44b8c22ff1d2c2c5e778b Winton Welsh committed Aug 17, 2008
Showing with 9 additions and 8 deletions.
  1. +4 −3 admin.gemspec
  2. +1 −4 init.rb
  3. +4 −1 lib/admin.rb
View
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'admin'
- s.version = '1.0.1'
+ s.version = '1.0.2'
s.date = '2008-08-16'
s.summary = "An instant Admin for your Rails app"
@@ -12,12 +12,13 @@ Gem::Specification.new do |s|
s.has_rdoc = false
- s.files = %w(
+ s.files = Dir[*%w(
init.rb
lib/*
lib/**/*
MIT-LICENSE
README.markdown
resources/**/*
- tasks/*)
+ tasks/*
+ )]
end
View
@@ -1,4 +1 @@
-require 'admin'
-
-ActionView::Base.send :include, Admin::Helpers
-ActionController::Base.send :include, Admin::Actions
+require 'admin'
View
@@ -8,4 +8,7 @@ def routes
ActionController::Routing::Routes.add_route '/admin/:action/:id', :controller => 'admin'
end
end
-end
+end
+
+ActionView::Base.send :include, Admin::Helpers
+ActionController::Base.send :include, Admin::Actions

0 comments on commit 756ed74

Please sign in to comment.