Skip to content
Extraits de code Groupes Projets
Valider 1bc1dc43 rédigé par Benjamin Neff's avatar Benjamin Neff
Parcourir les fichiers

Fix new publisher if user is beta

parent c8f3bb3e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -19,7 +19,7 @@ class PostsController < ApplicationController
:xml
def new
@feature_flag = FeatureFlagger.new(current_user) #I should be a global before filter so @feature_flag is accessible
@feature_flag = FeatureFlagger.new(current_user, current_user.person) #I should be a global before filter so @feature_flag is accessible
redirect_to "/stream" and return unless @feature_flag.new_publisher?
render :text => "", :layout => true
end
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter