metamaps--metamaps/app/controllers/tokens_controller.rb

10 lines
216 B
Ruby
Raw Permalink Normal View History

# 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