Method: Effective::Resources::Paths#flat_view_file

Defined in:
app/models/effective/resources/paths.rb

#flat_view_file(action = :index, partial: false) ⇒ Object



31
32
33
# File 'app/models/effective/resources/paths.rb', line 31

def flat_view_file(action = :index, partial: false)
  File.join(*[tenant_path, 'app/views', class_path, plural_name, "#{'_' if partial}#{action}.html.haml"].compact)
end