From 83fd05e4742943b4c8adb3d55c49c269b5b2c03e Mon Sep 17 00:00:00 2001 From: Martin Van Aken Date: Sat, 10 Feb 2018 15:41:16 +0100 Subject: [PATCH] policy & support --- app/controllers/effin_quotes_controller.rb | 2 +- app/views/effin_quotes/privacy.html.erb | 5 +++++ app/views/effin_quotes/support.html.erb | 4 ++++ config/routes.rb | 2 ++ 4 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 app/views/effin_quotes/privacy.html.erb create mode 100644 app/views/effin_quotes/support.html.erb diff --git a/app/controllers/effin_quotes_controller.rb b/app/controllers/effin_quotes_controller.rb index 0acac35..07f13aa 100644 --- a/app/controllers/effin_quotes_controller.rb +++ b/app/controllers/effin_quotes_controller.rb @@ -1,5 +1,5 @@ class EffinQuotesController < ApplicationController - before_action :authenticate_user!, except: [:home, :status] + before_action :authenticate_user!, except: [:home, :status, :support, :privacy] def index @quotes = EffinQuote.all diff --git a/app/views/effin_quotes/privacy.html.erb b/app/views/effin_quotes/privacy.html.erb new file mode 100644 index 0000000..019236a --- /dev/null +++ b/app/views/effin_quotes/privacy.html.erb @@ -0,0 +1,5 @@ +

Privacy policy

+ +

I'm collecting logs for two reasons - support and showing some examples of quotes generated at http://www.effinbot.com/status.

+

I'm not storing any identifiable information such as user or workspace. I keep track of the number of different workspaces using the app, but those names are hashed and so not possible (even for me) to retreive.

+

You can double check the claims above by looking at the code, available on GitHub under a MIT licence.

\ No newline at end of file diff --git a/app/views/effin_quotes/support.html.erb b/app/views/effin_quotes/support.html.erb new file mode 100644 index 0000000..77635e5 --- /dev/null +++ b/app/views/effin_quotes/support.html.erb @@ -0,0 +1,4 @@ +

Support

+ +

Hopefully you don't need any, but any feedback, critiscism or feature request can be send on the GitHub issue tracker

+

I'm also mostly available on Twitter

\ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index 59d4f9f..ba16ccd 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -3,6 +3,8 @@ root to: 'effin_quotes#home' get '/status', to: 'effin_quotes#status' + get '/support', to: 'effin_quotes#support' + get '/privacy', to: 'effin_quotes#privacy' get '/authorize', to: 'oauth#authorize' get '/oauth/callback', to: 'oauth#authorize_callback'