Returns a the applicable categories for set context can be a related object that restricts the possible categories
# File vendor/plugins/ubiquo_categories/lib/ubiquo_categories/connectors/i18n.rb, line 288
288: def uhook_categories_for_set set, object = nil
289: locale = if object && object.class.is_translatable?
290: object.locale
291: else
292: current_locale
293: end
294: set.categories.locale(locale, :all)
295: end
Disabled; run with $DEBUG to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.