Module: Curate
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/curate.rb,
lib/curate/engine.rb,
lib/curate/version.rb,
lib/curate/configuration.rb,
lib/curate/date_formatter.rb,
app/models/curate/user_behavior.rb,
lib/curate/active_model_adaptor.rb,
app/models/curate/content_version.rb,
app/models/concerns/curate/ability.rb,
app/models/curate/devise_user_shim.rb,
app/models/curate/user_behavior/base.rb,
lib/curate/jobs/content_deposit_event_job.rb,
app/models/curate/user_behavior/with_associated_person.rb
Defined Under Namespace
Modules: Ability, ActiveModelAdaptor, CatalogHelper, CollectionsHelper, DeviseUserShim, FieldsForAddToCollection, ParentContainer, PeopleHelper, ThemedLayoutController, UserBehavior, Work Classes: CollectionsController, Configuration, ContentDepositEventJob, ContentVersion, DateFormatter, DepositorsController, Engine, PeopleController, PropertiesDatastream, ProxyDepositRights, SearchConfigGenerator, UserProfilesController, WorkGenerator
Constant Summary collapse
- VERSION =
"0.6.6"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
4 5 6 |
# File 'lib/curate/configuration.rb', line 4 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
7 8 9 10 |
# File 'lib/curate/configuration.rb', line 7 def self.configure self.configuration ||= Configuration.new yield(configuration) end |
.permanent_url_for(object) ⇒ Object
22 23 24 |
# File 'lib/curate.rb', line 22 def permanent_url_for(object) File.join(Curate.configuration.application_root_url, 'show', object.noid) end |