Permalink
Browse files

fix for asset pipeline

  • Loading branch information...
1 parent e1d37f2 commit b0caf6becf429fe4f11ffbcca25c35868e50fa7c Neeraj Singh committed May 4, 2012
Showing with 11 additions and 1 deletion.
  1. +2 −0 app/controllers/admin_data/home_controller.rb
  2. +9 −1 lib/admin_data/railtie.rb
View
2 app/controllers/admin_data/home_controller.rb
@@ -1,6 +1,8 @@
module AdminData
class HomeController < ApplicationController
+ layout 'admin_data'
+
def index
respond_to do |format|
format.html
View
10 lib/admin_data/railtie.rb
@@ -2,7 +2,15 @@ module AdminData
class Engine < Rails::Engine
initializer "admin_data precompile hook" do |app|
- app.config.assets.precompile += ['admin_data.js', 'admin_data.css']
+ app.config.assets.precompile += [
+ 'advance_search/*',
+ 'analytics/*',
+ 'misc/*',
+ 'vendor/*',
+ 'vendor/jquery-ui-1.7.2.custom.css',
+ 'admin_data.js',
+ 'admin_data.css'
+ ]
end
rake_tasks do

0 comments on commit b0caf6b

Please sign in to comment.