Sha256: 36dec1b35f01a1d959d6a1e53034247b4067bdc3fd5bcc8d213927d12379f791
Contents?: true
Size: 358 Bytes
Versions: 1
Compression:
Stored size: 358 Bytes
Contents
json.body raw( @term.to_html) if @user_term.persisted? && @user_term.state == "accepted" json.message "THIS POLICY HAS ALREADY BEEN ACCEPTED" json.url reject_user_term_path(params[:id]) json.method :put else json.message "#{current_user.email} please accept terms" json.url accept_user_term_path(params[:id]) json.method :put end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gdpr_rails-0.1.0 | app/views/policy_manager/user_terms/show.json.jbuilder |