Skip to content
This repository
Browse code

fix for asset pipeline

  • Loading branch information...
commit b0caf6becf429fe4f11ffbcca25c35868e50fa7c 1 parent e1d37f2
Neeraj Singh authored
2  app/controllers/admin_data/home_controller.rb
... ...
@@ -1,6 +1,8 @@
1 1
 module AdminData
2 2
   class HomeController < ApplicationController
3 3
 
  4
+    layout 'admin_data'
  5
+
4 6
     def index
5 7
       respond_to do |format|
6 8
         format.html
10  lib/admin_data/railtie.rb
@@ -2,7 +2,15 @@ module AdminData
2 2
   class Engine < Rails::Engine
3 3
 
4 4
     initializer "admin_data precompile hook" do |app|
5  
-      app.config.assets.precompile += ['admin_data.js', 'admin_data.css']
  5
+      app.config.assets.precompile += [
  6
+        'advance_search/*',
  7
+        'analytics/*',
  8
+        'misc/*',
  9
+        'vendor/*',
  10
+        'vendor/jquery-ui-1.7.2.custom.css',
  11
+        'admin_data.js',
  12
+        'admin_data.css'
  13
+      ]
6 14
     end
7 15
 
8 16
     rake_tasks do

0 notes on commit b0caf6b

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