mirror of
https://github.com/mastodon/mastodon.git
synced 2026-06-20 22:50:15 -05:00
14 lines
275 B
Ruby
14 lines
275 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Auth::AcceptancesController < ApplicationController
|
|
def create
|
|
redirect_to new_user_registration_path(registration_params)
|
|
end
|
|
|
|
private
|
|
|
|
def registration_params
|
|
params.permit(:accept, :invite_code).compact_blank
|
|
end
|
|
end
|