Module: Underworld::UsersHelper

Defined in:
app/helpers/underworld/users_helper.rb

Instance Method Summary collapse

Instance Method Details

#underworldify_url(url) ⇒ Object



3
4
5
6
# File 'app/helpers/underworld/users_helper.rb', line 3

def underworldify_url(url)
  dashboard = Underworld::Engine.dashboard_namespace
  return url.gsub("/#{dashboard}/", "/#{dashboard}#/")
end