Skip to content

Commit

Permalink
Restore authentication and remove sqlite database file
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsantos-sfdc committed Mar 25, 2024
1 parent 74f7ae4 commit acfa47e
Show file tree
Hide file tree
Showing 3 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
Binary file removed webhooks-sqlite
Binary file not shown.

0 comments on commit acfa47e

Please sign in to comment.