Skip to content

Commit

Permalink
Fix for bug i[#45960641] Can't add new user
Browse files Browse the repository at this point in the history
  • Loading branch information
Veejay committed Mar 11, 2013
1 parent 44e9905 commit aebb5a4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
@@ -1 +1 @@
1.9.3-p374
1.9.3-p385
2 changes: 0 additions & 2 deletions app/assets/javascripts/routers/staffplan.js.coffee
Expand Up @@ -70,10 +70,8 @@ class StaffPlan.Routers.StaffPlan extends Support.SwappingRouter
@swap userShow

userNew: ->
user = new window.StaffPlan.Models.User
userNew = new window.StaffPlan.Views.Users.New
router: @
model: user
collection: window.StaffPlan.users
@swap userNew

Expand Down

0 comments on commit aebb5a4

Please sign in to comment.