Added 'QR Code generation' as an optional feature

This commit is contained in:
jfederico
2017-08-15 19:01:36 +00:00
parent 970670ba6f
commit e0c856522f
10 changed files with 712 additions and 7 deletions

View File

@ -46,4 +46,9 @@ class ApplicationController < ActionController::Base
USER_NAME_LIMIT
end
helper_method :user_name_limit
def qrcode_generation_enabled
Rails.configuration.enable_qrcode_generation
end
helper_method :qrcode_generation_enabled
end