dev_daiao
daiao 5 years ago
parent e09b9906bd
commit 630f0b74f9

@ -37,6 +37,7 @@ class HacksController < ApplicationController
def create
begin
logger.info("##########{hack_params}")
hack = Hack.new(hack_params)
ActiveRecord::Base.transaction do
hack.user_id = current_user.id

Loading…
Cancel
Save