moved line 16 in deck controller to deck helper

Made a slight change. Should be ok to merge, but I think it's good practice to use to pull requests