module Interage::LinkToHelper

Constants

ASIDE_DEFAULT_CLASS
DESTROY_CONFIRM_MESSAGE
NEW_BUTTON_CLASS
PREFIX_BUTTON_CLASS

Public Instance Methods

button_class(type, addicional_class = nil) click to toggle source
# File lib/interage/link_to_helper.rb, line 59
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 63
def destroy_confirm_message
  t('application.destroy_confirm_message', default: DESTROY_CONFIRM_MESSAGE)
end