# Profile: create (or replace) the secret calendar feed link. class CalendarTokensController < ApplicationController def create current_user.regenerate_calendar_token redirect_to edit_profile_path(anchor: "calendar"), notice: t("flash.calendar_tokens.calendar_link_ready_any") end end