Skip to content

Commit

Permalink
Opal::Processor is the real source for the config
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Nov 27, 2013
1 parent 3c40071 commit 6a070cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/opal/rails/engine.rb
Expand Up @@ -34,7 +34,7 @@ class Engine < ::Rails::Engine
end

app.routes.prepend do
if config.opal.source_map_enabled
if Opal::Processor.source_map_enabled
maps_app = Opal::SourceMapServer.new(app.assets)
mount maps_app => maps_app.prefix
end
Expand Down

0 comments on commit 6a070cd

Please sign in to comment.