You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/app/controllers/hack_user_lastest_codes_con...

16 lines
303 B

class HackUserLastestCodesController < ApplicationController
before_action :require_login
before_action :find_user_hack, only: [:show]
5 years ago
def show
end
private
def find_user_hack
@my_hack = HackUserLastestCode.find_by(identifier: params[:identifier])
@hack = @my_hack.hack
end
end