You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
533 B
24 lines
533 B
require 'lingua_franca/form_helper'
|
|
|
|
module ApplicationHelper
|
|
include PageHelper
|
|
include RegistrationHelper
|
|
include FormHelper
|
|
include I18nHelper
|
|
include WidgetsHelper
|
|
include GeocoderHelper
|
|
include TableHelper
|
|
include AdminHelper
|
|
|
|
def is_production?
|
|
Rails.env == 'production' || Rails.env == 'preview'
|
|
end
|
|
|
|
def is_test?
|
|
Rails.env == 'test'
|
|
end
|
|
|
|
def generate_confirmation(user, url, expiry = nil)
|
|
ApplicationController::generate_confirmation(user, url, expiry)
|
|
end
|
|
end
|
|
|