module Decidim::Initiatives::CurrentLocale
Current locale related functions
Public Instance Methods
current_locale()
click to toggle source
PUBLIC: Returns the current locale as a String
# File lib/decidim/initiatives/current_locale.rb, line 8 def current_locale I18n.locale.to_s end