Skip to content

Commit

Permalink
Fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Cantido committed Sep 30, 2016
1 parent 4ee0d5f commit 3bf3f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/content_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def index
def show
# TODO: Secure this with content class whitelist lel
@content = content_type_from_controller(self.class).find(params[:id])

@question = @content.question if current_user.present? and current_user == @content.user

respond_to do |format|
Expand Down

0 comments on commit 3bf3f84

Please sign in to comment.