HTML href inspection

In one of my files I have a route to a static view:

<a href="/privacy">Privacy Policy</a>

Which is setup to be handled by a a static pages controller in my routes.rb fils as such:

match ':action' => 'static#:action'

However, RubyMine's code inspection flags this as an unknown href. Do I have something setup incorrectly or is there a way to code this that is more friendly to the inspector?   

1 comment
Comment actions Permalink

Hello Byron,

this looks like a bug. Please create an issue at our bugtracker.


Please sign in to leave a comment.