Skip to content

Commit

Permalink
grr tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
kbeswick committed Jul 25, 2016
1 parent 446eec6 commit a7aefb8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/quick_search/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Engine < ::Rails::Engine
QuickSearch::Engine::APP_CONFIG = YAML.load_file(config_file)[Rails.env]
ActiveSupport.on_load(:action_controller) do
# get theme / core engine classes
theme_engine_class = "#{QuickSearch::Engine::APP_CONFIG['theme'].classify}::Engine".constantize
theme_engine_class = "#{QuickSearch::Engine::APP_CONFIG['theme'].classify}::Engine".constantize
core_engine_class = "QuickSearch::Engine".constantize

# get the correct view paths for the application, theme, and engine
Expand All @@ -28,8 +28,8 @@ class Engine < ::Rails::Engine

# prepend to the existing view path ordering
prepend_view_path(core_view_path)
prepend_view_path(theme_view_path)
prepend_view_path(app_view_path)
prepend_view_path(theme_view_path)
prepend_view_path(app_view_path)
end
end
end
Expand Down

0 comments on commit a7aefb8

Please sign in to comment.