class GestaoDoPortalDaTransparencia::InicioController < ApplicationController
  include TradutorConcern
  include ControllerConcern

  before_action :authenticate_usuario!
  before_action :autoriza_usuario!

  def index
    contexto_atual

    unless current_usuario.ambos?
      @poder = current_usuario.tipo_de_poder
    end
  end

  def poderes
    @poder = params[:tipo_de_poder]
  end
end