Skip to content

Commit

Permalink
fix loading issues and set add_autoload_paths_to_load_path = false
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansing committed Oct 14, 2024
1 parent 1737433 commit a2af056
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions app/controllers/concepts/alphabetical_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

require 'concerns/dataset_initialization'

class Concepts::AlphabeticalController < ConceptsController
include DatasetInitialization

Expand Down
3 changes: 0 additions & 3 deletions app/controllers/concepts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

require 'concerns/dataset_initialization'
require 'reverse_match_job'

class ConceptsController < ApplicationController
include DatasetInitialization

Expand Down
2 changes: 0 additions & 2 deletions app/controllers/remote_labels_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require 'concerns/dataset_initialization'

class RemoteLabelsController < ApplicationController
include DatasetInitialization

Expand Down
2 changes: 0 additions & 2 deletions app/controllers/search_results_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

require 'concerns/dataset_initialization'

class SearchResultsController < ApplicationController
include DatasetInitialization

Expand Down
3 changes: 0 additions & 3 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,5 @@ class Application < Rails::Application
#
# config.time_zone = "Central Time (US & Canada)"
# config.eager_load_paths << Rails.root.join("extras")

# FIXME: fix loading issues and remove line below
config.add_autoload_paths_to_load_path = true
end
end
File renamed without changes.
File renamed without changes.

0 comments on commit a2af056

Please sign in to comment.