https://github.com/SLP-KBIT/kingyo/blob/master/app/controllers/users_controller.rb#L36 仮のメソッドみたいだけど,controller内でしか使わないメソッドはprivateにしておいたほうがいい.