File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
app/controllers/better_together/metrics Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change 44module BetterTogether
55 module Metrics
66 class LinkClicksController < ApplicationController # rubocop:todo Style/Documentation
7- # Disable CSRF protection for API endpoints if using token-based auth
8- protect_from_forgery with : :null_session
9-
107 def create
118 url = params [ :url ]
129 page_url = params [ :page_url ] # Get the page URL where the link was clicked
Original file line number Diff line number Diff line change 44module BetterTogether
55 module Metrics
66 class SharesController < ApplicationController # rubocop:todo Style/Documentation
7- # Disable CSRF protection for API endpoints if using token-based auth
8- protect_from_forgery with : :null_session
9-
107 def create # rubocop:todo Metrics/AbcSize
118 platform = params [ :platform ]
129 url = params [ :url ]
You can’t perform that action at this time.
0 commit comments