Add change log in investment participatory budget

This commit is contained in:
German Galia
2019-06-02 17:44:38 +02:00
committed by lalo
parent 259e05c3e0
commit 16ffa2a259
16 changed files with 243 additions and 3 deletions

View File

@@ -13,6 +13,7 @@ class ApplicationController < ActionController::Base
before_action :set_locale
before_action :track_email_campaign
before_action :set_return_url
before_action :set_current_user
before_action :set_fallbacks_to_all_available_locales
check_authorization unless: :devise_controller?
@@ -120,6 +121,10 @@ class ApplicationController < ActionController::Base
Budget.current
end
def set_current_user
User.current_user = current_user
end
def set_fallbacks_to_all_available_locales
Globalize.set_fallbacks_to_all_available_locales
end