HHH v4

check if current class name includes a module in class definition

Edit
equivalent Web Development
Public
Rails
module Filtered
  class BooksController < ApplicationController


in view 

<% if controller.class.module_parents.include?(Filtered) %>