Adds the activity link in the upper-left menu if the user has the proper permissions.
# File vendor/plugins/ubiquo_activity/lib/ubiquo_activity/extensions/helper.rb, line 7
7: def ubiquo_activities_link(navigator)
8: navigator.add_link do |link|
9: link.text = I18n.t("ubiquo.activity_info.title")
10: link.highlights << {:controller => "ubiquo/activity_infos"}
11: link.url = ubiquo_activity_infos_path
12: end if ubiquo_config_call(:activity_info_permit, {:context => :ubiquo_activity })
13: end
Disabled; run with $DEBUG to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.