Method: Platform::ActionViewExtension::InstanceMethods#platform_user_tag
- Defined in:
- lib/platform/extensions/action_view_extension.rb
#platform_user_tag(user, options = {}) ⇒ Object
119 120 121 122 123 124 125 126 127 |
# File 'lib/platform/extensions/action_view_extension.rb', line 119 def platform_user_tag(user, = {}) return "Deleted Translator" unless user if [:linked] link_to(Platform::Config.user_name(user), Platform::Config.user_link(user)) else Platform::Config.user_name(user) end end |