Skip to content

Commit

Permalink
policy & support
Browse files Browse the repository at this point in the history
  • Loading branch information
vanakenm committed Feb 10, 2018
1 parent ac1d175 commit 83fd05e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/effin_quotes_controller.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 5 additions & 0 deletions app/views/effin_quotes/privacy.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<h1>Privacy policy</h1>

<p>I'm collecting logs for two reasons - support and showing some examples of quotes generated at http://www.effinbot.com/status.</p>
<p>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.</p>
<p>You can double check the claims above by looking at the code, available on <a href="https://github.com/vanakenm/effinbot">GitHub</a> under a MIT licence.</p>
4 changes: 4 additions & 0 deletions app/views/effin_quotes/support.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<h1>Support</h1>

<p>Hopefully you don't need any, but any feedback, critiscism or feature request can be send on the <a href="https://github.com/vanakenm/effinbot">GitHub</a> issue tracker</p>
<p>I'm also mostly available on <a href="https://twitter.com/martinvanaken">Twitter</a></p>
2 changes: 2 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 83fd05e

Please sign in to comment.