Module: Dbla::ApplicationHelperBehavior

Included in:
DblaHelper
Defined in:
app/helpers/dbla/application_helper_behavior.rb

Instance Method Summary collapse

Instance Method Details



3
4
5
6
7
8
# File 'app/helpers/dbla/application_helper_behavior.rb', line 3

def dbla_external_link(options, text='')
  url = options[:value]
  link_to(url, 'class' => 'dbla-view-object') do
    (:span, text, 'class'=> 'glyphicon glyphicon-new-window')
  end
end