Skip to content

Commit d161c3e

Browse files
author
Lee Richmond
committed
update docs
1 parent 44c03c9 commit d161c3e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

_site/feed.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.3.1">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2020-04-14T08:42:59-04:00</updated><id>/</id><title type="html">Graphiti</title><subtitle>Stylish Graph APIs
1+
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.3.1">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2020-04-23T08:50:25-04:00</updated><id>/</id><title type="html">Graphiti</title><subtitle>Stylish Graph APIs
22
</subtitle><entry><title type="html">Tutorial Write-Ups Are Out!</title><link href="/2019/10/14/tutorial.html" rel="alternate" type="text/html" title="Tutorial Write-Ups Are Out!" /><published>2019-10-14T00:00:00-04:00</published><updated>2019-10-14T00:00:00-04:00</updated><id>/2019/10/14/tutorial</id><content type="html" xml:base="/2019/10/14/tutorial.html">&lt;p&gt;Though we’ve long had a &lt;a href=&quot;https://github.com/graphiti-api/employee_directory&quot;&gt;sample application&lt;/a&gt; with step-by-step diffs, we’ve been missing a full walkthrough. That now exists! Start with &lt;a href=&quot;https://www.graphiti.dev/tutorial/step_0&quot;&gt;Step 0: Bootstrapping&lt;/a&gt;.&lt;/p&gt;
33

44
&lt;p&gt;These write-ups will tell you the relevant code and commands, but

_site/guides/concepts/error-handling.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ <h4>
176176
<span class="c1"># ... code ...</span>
177177

178178
<span class="k">def</span> <span class="nf">show_detailed_exceptions?</span>
179-
<span class="no">Rails</span><span class="p">.</span><span class="nf">env</span><span class="p">.</span><span class="nf">staging?</span>
179+
<span class="n">current_user</span><span class="p">.</span><span class="nf">admin?</span>
180180
<span class="k">end</span>
181181
<span class="k">end</span></code></pre></figure>
182182

guides/concepts/error-handling.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class ApplicationController < ActionController::API
8383
# ... code ...
8484

8585
def show_detailed_exceptions?
86-
Rails.env.staging?
86+
current_user.admin?
8787
end
8888
end
8989

0 commit comments

Comments
 (0)