Sha256: 8f7a5395786507e44f45ac665d17d36f458433304b6ad39043d6f3e3f605047f

Contents?: true

Size: 462 Bytes

Versions: 24

Compression:

Stored size: 462 Bytes

Contents

#--
#            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
#                    Version 2, December 2004
#
#            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
#   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
#
#  0. You just DO WHAT THE FUCK YOU WANT TO.
#++

class ${ClassName}
  helpers do
    def csrf_token
      Rack::Csrf.csrf_token env
    end

    def csrf_tag
      Rack::Csrf.csrf_tag env
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
gennaro-0.3.6.5 templates/authentication/app/helpers/csrf.rb
gennaro-0.3.6.4 templates/authentication/app/helpers/csrf.rb
gennaro-0.3.6.3 templates/authentication/app/helpers/csrf.rb
gennaro-0.3.6.2 templates/authentication/app/helpers/csrf.rb
gennaro-0.3.6.1 templates/authentication/app/helpers/csrf.rb
gennaro-0.3.6 templates/authentication/app/helpers/csrf.rb
gennaro-0.3.5 templates/authentication/app/helpers/csrf.rb
gennaro-0.3.4.2 templates/authentication/app/helpers/csrf.rb
gennaro-0.3.4.1 templates/authentication/app/helpers/csrf.rb
gennaro-0.3.4 templates/authentication/app/helpers/csrf.rb
gennaro-0.3.3 templates/authentication/app/helpers/csrf.rb
gennaro-0.3.2.3 templates/authentication/app/helpers/csrf.rb
gennaro-0.3.2.2 templates/authentication/app/helpers/csrf.rb
gennaro-0.3.2.1 templates/authentication/app/helpers/csrf.rb
gennaro-0.3.2 templates/authentication/app/helpers/csrf.rb
gennaro-0.3.1.3 templates/authentication/app/helpers/csrf.rb
gennaro-0.3.1.2 templates/authentication/app/helpers/csrf.rb
gennaro-0.3.1.1 templates/authentication/app/helpers/csrf.rb
gennaro-0.3.1 templates/authentication/app/helpers/csrf.rb
gennaro-0.3 templates/authentication/app/helpers/csrf.rb