lib/curate.rb in curate-0.3.2 vs lib/curate.rb in curate-0.4.2

- old
+ new

@@ -1,11 +1,23 @@ -require 'devise' -require 'warden' -require 'sufia' +require 'sufia/models' require "curate/engine" -require 'rails' +require "curate/configuration" require 'simple_form' -require 'roboto' require 'bootstrap-datepicker-rails' +require 'hydra-batch-edit' +require 'active_fedora/registered_attributes' +require 'hydra/remote_identifier' +require 'inline_reflection' +require 'contributors_association' module Curate -end + extend ActiveSupport::Autoload + autoload :Ability + + delegate :application_root_url, to: :configuration + + module_function + def permanent_url_for(object) + File.join(Curate.configuration.application_root_url, 'show', object.noid) + end + +end \ No newline at end of file