Method: Effective::Resources::Paths#flat_view_file

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

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



21
22
23
# File 'app/models/effective/resources/paths.rb', line 21

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