Sha256: ed6b07be4be8fc3316e1ed8b2e82b88ac4844bc4f0bb73f8baa66bd6fc2120e9
Contents?: true
Size: 464 Bytes
Versions: 9
Compression:
Stored size: 464 Bytes
Contents
# frozen_string_literal: true module Decidim # The controller to handle the user's public profile page. class ProfilesController < Decidim::ApplicationController skip_authorization_check helper Decidim::Messaging::ConversationHelper helper_method :user def show; end private def user @user ||= Decidim::User.find_by!( nickname: params[:nickname], organization: current_organization ) end end end
Version data entries
9 entries across 9 versions & 1 rubygems