@@ -54,6 +54,6 @@ class Api::V1::TeamsController < ApplicationController
end
def can_edit?
- head :forbidden unless Membership.where(:team_id => params[:id]).where(:member_id => current_user.id)[0].can_edit
+ head :forbidden unless Membership.where(team_id: params[:id]).where(member_id: current_user.id)[0].can_edit