Skip to content

Commit

Permalink
Issue #476 adding a limit to who can view the statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahdi authored and Mahdi committed May 17, 2014
1 parent 911f87e commit 6ae30bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tutor/app/controllers/topics_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,12 @@ def topic_params
params.require(:topic).permit(:title,:description)
end

def track_params
params.permit(:difficulty)
end

def course_params
params.permit(:course_id)
params.permit(:course_id)
end

end

0 comments on commit 6ae30bf

Please sign in to comment.