Module: Tasuku::UrlHelper

Defined in:
app/helpers/tasuku/url_helper.rb

Instance Method Summary collapse

Instance Method Details

#url_for(options) ⇒ Object



3
4
5
6
7
8
9
# File 'app/helpers/tasuku/url_helper.rb', line 3

def url_for(options)
  begin
    super options
  rescue ActionController::UrlGenerationError
    main_app.url_for options
  end
end