Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/posts_controller.rb
View
2 app/controllers/posts_controller.rb
@@ -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

No commit comments for this range

Something went wrong with that request. Please try again.