Fix mispelling and ambiguous id in UserTeam.without_project
This commit is contained in:
parent
ca105d0462
commit
ca752e64fb
8 changed files with 6 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
|||
class Projects::TeamsController < Projects::ApplicationController
|
||||
|
||||
def avaliable
|
||||
def available
|
||||
@teams = current_user.is_admin? ? UserTeam.scoped : current_user.user_teams
|
||||
@teams = @teams.without_project(project)
|
||||
unless @teams.any?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue