Module: UserApplicationsHelper

Defined in:
app/helpers/user_applications_helper.rb

Instance Method Summary collapse

Instance Method Details

#user_application_name(app) ⇒ Object


4
5
6
7
8
9
10
# File 'app/helpers/user_applications_helper.rb', line 4

def user_application_name(app)
  if app.name?
    "#{html_escape app.name} (#{link_to(app.url, app.url)})"
  else
    link_to(app.url, app.url)
  end
end