Sha256: 9dede1a40f8c5852199c3c3b455938ff4d424d177e52037f1df3887112f78327
Contents?: true
Size: 497 Bytes
Versions: 10
Compression:
Stored size: 497 Bytes
Contents
require_dependency "cadenero/application_controller" # Dashboard Controller that can be overrided for be the root access point of your API app module Cadenero #name space for this API version class V1::Account::DashboardController < Cadenero::ApplicationController # Protecting the site before_filter :authenticate_user! # Default action def index render json: {message: "Welcome #{current_user.email}"}, status: :ok # Welcome message for current_user end end end
Version data entries
10 entries across 10 versions & 1 rubygems