after_filter Unexpected Identifier

I have an after filter within a controller that RubyMine marks with an Unexpected Identifier error...

anyone know how to disable/fix it?  I couldnt find much chatter about it.

class MyController < ApplicationController
    after_filter :only => [:index] {paginate_links(:example_scope)}

Still works fine.. just the red syntax highlights are kinda annoying.

Please sign in to leave a comment.