Module: Faalis::UsersHelper

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

Instance Method Summary (collapse)

Instance Method Details

- (Object) faalisify_url(url)



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

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