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

11 lines
217 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2017-11-25 19:23:47 +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