Skip to content

Commit

Permalink
trying to find the solution to get gem assets includes in rails pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
arojoal committed Jan 10, 2013
1 parent 5eb0214 commit dc5c6c9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
11 changes: 1 addition & 10 deletions lib/jquery-multiselect-rails.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,2 @@
require "jquery-multiselect-rails/version"

module Jquery
module Multiselect
module Rails
class Engine < Rails::Engine

end
end
end
end
require "jquery-multiselect-rails/engine"
11 changes: 11 additions & 0 deletions lib/jquery-multiselect-rails/engine.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Configure for Rails 3.1
module Jquery
module Multiselect
if defined?(::Rails) and ::Rails.version >= "3.1"
module Rails
class Engine < ::Rails::Engine
end
end
end
end
end

0 comments on commit dc5c6c9

Please sign in to comment.