module Interage::LinkToHelper

Constants

ASIDE_DEFAULT_CLASS
DESTROY_CONFIRM_MESSAGE
PREFIX_BUTTON_CLASS

Public Instance Methods

button_class(type, addicional_class = nil) click to toggle source
# File lib/interage/link_to_helper.rb, line 56
def button_class(type, addicional_class = nil)
  "#{PREFIX_BUTTON_CLASS}#{type} #{addicional_class}"
end
destroy_confirm_message() click to toggle source
# File lib/interage/link_to_helper.rb, line 60
def destroy_confirm_message
  t('application.destroy_confirm_message', default: DESTROY_CONFIRM_MESSAGE)
end