title: Ruby on Rails: CanCan and static pages
body: <p>I am using <a href="https://github.com/ryanb/cancan/tree/2.0" rel="nofollow">CanCan 2.0</a> gem for authorization and <a href="https://github.com/thoughtbot/high_voltage" rel="nofollow">high_voltage</a> gem for static pages.</p>
  
  <p>In my routes.rb file I have:</p>
  
  <pre><code>match 'about' =&gt; 'high_voltage/pages#show', id: 'about'
  </code></pre>
  
  <p>And I want to make it public in my ability.rb file, but none of these two lines do that:</p>
  
  <pre><code>can :read, :pages
  can :read, 'high_voltage/pages'
  </code></pre>
  
  <p>How do I fix this?</p>