metamaps--metamaps/app/controllers/tokens_controller.rb
2017-11-25 11:23:47 -08:00

10 lines
217 B
Ruby

# frozen_string_literal: true
class TokensController < ApplicationController
before_action :require_user, only: [:new]
def new
@token = Token.new(user: current_user)
render :new, layout: false
end
end