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.
14 lines
301 B
14 lines
301 B
5 years ago
|
class HackUserLastestCodesController < ApplicationController
|
||
|
before_action :require_login
|
||
|
before_action :find_user_hack, only: [:show]
|
||
|
|
||
|
def show ;end
|
||
|
|
||
|
private
|
||
|
def find_user_hack
|
||
|
@my_hack = HackUserLastestCode.find_by(identifier: params[:identifier])
|
||
|
@hack = @my_hack.hack
|
||
|
end
|
||
|
|
||
|
end
|