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

11 lines
217 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
2017-11-06 16:15:18 +00:00
class TokensController < ApplicationController
before_action :require_user, only: [:new]
def new
@token = Token.new(user: current_user)
render :new, layout: false
end
end