Skip to content

Commit

Permalink
Restore authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsantos-sfdc committed Mar 26, 2024
1 parent 21ae991 commit 387e7e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/dashboard_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class DashboardController < ApplicationController
#before_action :authenticate_user_action!
before_action :authenticate_user_action!

def index
@no_events = Event.count == 0
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/events_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class EventsController < ApplicationController
#before_action :authenticate_user_action!
before_action :authenticate_user_action!

def index
# render json: Event.order(created_at: :desc).limit(100), each_serializer: EventSerializer
Expand Down

0 comments on commit 387e7e2

Please sign in to comment.