app/controllers/cadenero/v1/account/dashboard_controller.rb in cadenero-0.0.2.a vs app/controllers/cadenero/v1/account/dashboard_controller.rb in cadenero-0.0.2.a1
- old
+ new
@@ -3,9 +3,9 @@
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