Sha256: e1a551027062566a7fcf42150bde3b52abed81cbc312bc9cc91e520960ec765b

Contents?: true

Size: 291 Bytes

Versions: 2

Compression:

Stored size: 291 Bytes

Contents

require_dependency "cadenero/application_controller"

module Cadenero
  class V1::Account::DashboardController < Cadenero::ApplicationController
    before_filter :authenticate_user!

    def index
      render json: {message: "Welcome #{current_user.email}"}, status: 201
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cadenero-0.0.2.a2 app/controllers/cadenero/v1/account/dashboard_controller.rb
cadenero-0.0.2.a1 app/controllers/cadenero/v1/account/dashboard_controller.rb