Skip to content
Browse files

asset pipeline fix

  • Loading branch information...
1 parent 1496b4b commit 0895660735b181a5c063586418a9b3a972949963 @neerajdotname neerajdotname committed
Showing with 4 additions and 3 deletions.
  1. +1 −0 admin_data.gemspec
  2. +2 −2 lib/admin_data/railtie.rb
  3. +1 −1 lib/admin_data/version.rb
View
1 admin_data.gemspec
@@ -20,4 +20,5 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]
s.add_dependency("will_paginate", ">= 3.0.0")
+ s.add_dependency("rails", "~> 3.1")
end
View
4 lib/admin_data/railtie.rb
@@ -1,8 +1,8 @@
module AdminData
class Engine < Rails::Engine
- initializer "admin_data.setup" do
- #
+ initializer "admin_data precompile hook" do |app|
+ app.config.assets.precompile += ['admin_data.js', 'admin_data.css']
end
rake_tasks do
View
2 lib/admin_data/version.rb
@@ -1,3 +1,3 @@
module AdminData
- VERSION = '1.1.16'
+ VERSION = '1.2.0'
end

0 comments on commit 0895660

Please sign in to comment.
Something went wrong with that request. Please try again.