Skip to content

Commit

Permalink
lib/riiif: autoload Riiif::Image class
Browse files Browse the repository at this point in the history
Removed in
sul-dlss@f155634,
but this can cause init errors of the 'undefined method `file_resolver=' for
Riiif::Image:Class (NoMethodError)' variety.
  • Loading branch information
dunn committed Dec 11, 2017
1 parent 6acf20d commit d228490
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/riiif.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
require 'riiif/version'
require 'deprecation'
require 'riiif/engine'

module Riiif
extend ActiveSupport::Autoload
autoload :Image
autoload :Routes

class Error < RuntimeError; end
Expand Down

0 comments on commit d228490

Please sign in to comment.