def iiif_for(*resources)
      options = resources.extract_options!

      Riiif::Routes.new(self, options.merge(resource: resources.first)).draw
    end
def iiif_for(*resources)
      options = resources.extract_options!

      Riiif::Routes.new(self, options.merge(resource: resources.first)).draw
    end
example
   iiif_for :image