Skip to content

Commit

Permalink
[fix] opendata : dataset_download csrf error
Browse files Browse the repository at this point in the history
  • Loading branch information
itowtips committed Jul 2, 2021
1 parent b41b21b commit 44cc146
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ class Opendata::Agents::Nodes::Dataset::SearchDatasetController < ApplicationCon
include Cms::NodeFilter::View
helper Opendata::UrlHelper

protect_from_forgery except: [:dataset_download, :bulk_download]

private

def pages
Expand Down

0 comments on commit 44cc146

Please sign in to comment.