1380 lines
36 KiB
HTML
1380 lines
36 KiB
HTML
|
<html>
|
||
|
<head>
|
||
|
<style>
|
||
|
table { background: #fff; color: #000; }
|
||
|
.ruby .normal { color: #000; }
|
||
|
.ruby .comment { color: #005; font-style: italic; }
|
||
|
.ruby .keyword { color: #A44; font-weight: bold; }
|
||
|
.ruby .method { color: #44f; }
|
||
|
.ruby .class { color: #b1713d; }
|
||
|
.ruby .module { color: #050; }
|
||
|
.ruby .punct { color: #668; font-weight: bold; }
|
||
|
.ruby .symbol { color: #00f; }
|
||
|
.ruby .string { color: #4a4; }
|
||
|
.ruby .char { color: #F07; }
|
||
|
.ruby .ident { color: #000; }
|
||
|
.ruby .constant { color: #b1713d; }
|
||
|
.ruby .regex { color: #B66; background: #FEF; }
|
||
|
.ruby .number { color: #F99; }
|
||
|
.ruby .attribute { color: #f84; }
|
||
|
.ruby .global { color: #7FB; }
|
||
|
.ruby .expr { color: #227; }
|
||
|
.ruby .escape { color: #277; }
|
||
|
</style>
|
||
|
<title>Analyzed File Report</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<table cellpadding='0' cellspacing='0' class='ruby'>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n1" name="n1">1</a></span><span class="constant">Rails</span>.application.routes.draw <span class="keyword">do</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n2" name="n2">2</a></span> <span class="comment"># The priority is based upon order of creation: first created -> highest priority.</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n3" name="n3">3</a></span> <span class="comment"># See how all your routes lay out with "rake routes".</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n4" name="n4">4</a></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n5" name="n5">5</a></span> <span class="comment"># You can have the root of your site routed with "root"</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n6" name="n6">6</a></span> <span class="comment"># root 'welcome#index'</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n7" name="n7">7</a></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n8" name="n8">8</a></span> <span class="comment"># Example of regular route:</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"> <a href="#n9" name="n9">9</a></span> <span class="comment"># get 'products/:id' => 'catalog#view'</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><strong><a href="#n10" name="n10">10</a></strong></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n11" name="n11">11</a></span> <span class="comment"># Example of named route that can be invoked with purchase_url(id: product.id)</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n12" name="n12">12</a></span> <span class="comment"># get 'products/:id/purchase' => 'catalog#purchase', as: :purchase</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n13" name="n13">13</a></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n14" name="n14">14</a></span> <span class="comment"># Example resource route (maps HTTP verbs to controller actions automatically):</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n15" name="n15">15</a></span> <span class="comment"># resources :products</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n16" name="n16">16</a></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n17" name="n17">17</a></span> <span class="comment"># Example resource route with options:</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n18" name="n18">18</a></span> <span class="comment"># resources :products do</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n19" name="n19">19</a></span> <span class="comment"># member do</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><strong><a href="#n20" name="n20">20</a></strong></span> <span class="comment"># get 'short'</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n21" name="n21">21</a></span> <span class="comment"># post 'toggle'</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n22" name="n22">22</a></span> <span class="comment"># end</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n23" name="n23">23</a></span> <span class="comment">#</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n24" name="n24">24</a></span> <span class="comment"># collection do</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n25" name="n25">25</a></span> <span class="comment"># get 'sold'</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n26" name="n26">26</a></span> <span class="comment"># end</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n27" name="n27">27</a></span> <span class="comment"># end</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n28" name="n28">28</a></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n29" name="n29">29</a></span> <span class="comment"># Example resource route with sub-resources:</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><strong><a href="#n30" name="n30">30</a></strong></span> <span class="comment"># resources :products do</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n31" name="n31">31</a></span> <span class="comment"># resources :comments, :sales</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n32" name="n32">32</a></span> <span class="comment"># resource :seller</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n33" name="n33">33</a></span> <span class="comment"># end</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n34" name="n34">34</a></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n35" name="n35">35</a></span> <span class="comment"># Example resource route with more complex sub-resources:</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n36" name="n36">36</a></span> <span class="comment"># resources :products do</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n37" name="n37">37</a></span> <span class="comment"># resources :comments</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n38" name="n38">38</a></span> <span class="comment"># resources :sales do</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n39" name="n39">39</a></span> <span class="comment"># get 'recent', on: :collection</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><strong><a href="#n40" name="n40">40</a></strong></span> <span class="comment"># end</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n41" name="n41">41</a></span> <span class="comment"># end</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n42" name="n42">42</a></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n43" name="n43">43</a></span> <span class="comment"># Example resource route with concerns:</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n44" name="n44">44</a></span> <span class="comment"># concern :toggleable do</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n45" name="n45">45</a></span> <span class="comment"># post 'toggle'</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n46" name="n46">46</a></span> <span class="comment"># end</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n47" name="n47">47</a></span> <span class="comment"># resources :posts, concerns: :toggleable</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n48" name="n48">48</a></span> <span class="comment"># resources :photos, concerns: :toggleable</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n49" name="n49">49</a></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><strong><a href="#n50" name="n50">50</a></strong></span> <span class="comment"># Example resource route within a namespace:</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n51" name="n51">51</a></span> <span class="comment"># namespace :admin do</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n52" name="n52">52</a></span> <span class="comment"># # Directs /admin/products/* to Admin::ProductsController</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n53" name="n53">53</a></span> <span class="comment"># # (app/controllers/admin/products_controller.rb)</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n54" name="n54">54</a></span> <span class="comment"># resources :products</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n55" name="n55">55</a></span> <span class="comment"># end</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n56" name="n56">56</a></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n57" name="n57">57</a></span> get <span class="string"><span class="delimiter">'</span><span class="content">users/emailExist</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">users#emailExist</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n58" name="n58">58</a></span> get <span class="string"><span class="delimiter">'</span><span class="content">users/usernameExist</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">users#usernameExist</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n59" name="n59">59</a></span> post <span class="string"><span class="delimiter">'</span><span class="content">users</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">users#create</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><strong><a href="#n60" name="n60">60</a></strong></span> patch <span class="string"><span class="delimiter">'</span><span class="content">user/current</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">users#update</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n61" name="n61">61</a></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n62" name="n62">62</a></span> post <span class="string"><span class="delimiter">'</span><span class="content">sessions</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">sessions#create</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n63" name="n63">63</a></span> delete <span class="string"><span class="delimiter">'</span><span class="content">session</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">sessions#destroy</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n64" name="n64">64</a></span> get <span class="string"><span class="delimiter">'</span><span class="content">session</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">sessions#show</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
<ul>
|
||
|
|
||
|
<li>remove trailing whitespace » rails_best_practices</li>
|
||
|
|
||
|
</ul>
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n65" name="n65">65</a></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n66" name="n66">66</a></span> post <span class="string"><span class="delimiter">'</span><span class="content">shares</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">shares#create</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n67" name="n67">67</a></span> get <span class="string"><span class="delimiter">'</span><span class="content">shares</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">shares#getShareList</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n68" name="n68">68</a></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n69" name="n69">69</a></span> get <span class="string"><span class="delimiter">'</span><span class="content">projects</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">projects#index</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><strong><a href="#n70" name="n70">70</a></strong></span> post <span class="string"><span class="delimiter">'</span><span class="content">projects</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">projects#create</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n71" name="n71">71</a></span> patch <span class="string"><span class="delimiter">'</span><span class="content">projects</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">projects#update</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n72" name="n72">72</a></span> post <span class="string"><span class="delimiter">'</span><span class="content">projects/users</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">projects#addUsers</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n73" name="n73">73</a></span> delete <span class="string"><span class="delimiter">'</span><span class="content">projects/users</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">projects#deleteUsers</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n74" name="n74">74</a></span> get <span class="string"><span class="delimiter">'</span><span class="content">projects/detail</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">projects#detail</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n75" name="n75">75</a></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n76" name="n76">76</a></span> get <span class="string"><span class="delimiter">'</span><span class="content">notes/list</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">notes#getNotesList</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n77" name="n77">77</a></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n78" name="n78">78</a></span> get <span class="string"><span class="delimiter">'</span><span class="content">missions</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">missions#getlist</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n79" name="n79">79</a></span> get <span class="string"><span class="delimiter">'</span><span class="content">missions/detail</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">missions#detail</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><strong><a href="#n80" name="n80">80</a></strong></span> post <span class="string"><span class="delimiter">'</span><span class="content">missions/comments</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">missions#commentPublish</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n81" name="n81">81</a></span> post <span class="string"><span class="delimiter">'</span><span class="content">missions</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">missions#create</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n82" name="n82">82</a></span> patch <span class="string"><span class="delimiter">'</span><span class="content">missions/detail</span><span class="delimiter">'</span></span> => <span class="string"><span class="delimiter">'</span><span class="content">missions#update</span><span class="delimiter">'</span></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n83" name="n83">83</a></span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td valign='top'>
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td valign='top'>
|
||
|
<div class="CodeRay">
|
||
|
<div class="code"><pre><span class="line-numbers"><a href="#n84" name="n84">84</a></span><span class="keyword">end</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|