app/lib/matestack/ui/core/render.rb
def possible_default_render_matestack_page_paths
    paths = []
    paths << "pages/#{controller_path}/#{action_name}"
    paths << "pages/#{controller_path}" if action_name == "index"
    paths << "pages/#{controller_path.singularize}" if action_name == "show"
    paths << "#{controller_path}/#{action_name}_page"
    paths << "#{controller_path}_page" if action_name == "index"
    paths << "#{controller_path.singularize}_page" if action_name == "show"
    paths
  end
# Matestack allows you to use `render` to render matestack pages.
#
#     render Pages::Member::Bookings::Index
#     render matestack: Pages::Member::Bookings::Index
#     render matestack: 'member/bookings/index'
#
Matestack allows you to use `render` to render matestack pages.
Matestack allows you to use ` render ` to render matestack pages .
def possible_default_render_matestack_page_paths
    paths = []
    paths << "pages/#{controller_path}/#{action_name}"
    paths << "pages/#{controller_path}" if action_name == "index"
    paths << "pages/#{controller_path.singularize}" if action_name == "show"
    paths << "#{controller_path}/#{action_name}_page"
    paths << "#{controller_path}_page" if action_name == "index"
    paths << "#{controller_path.singularize}_page" if action_name == "show"
    paths
  end
def possible_default_render_matestack_page_paths paths = [ ] paths << "pages/#{controller_path}/#{action_name}" paths << "pages/#{controller_path}" if action_name == "index" paths << "pages/#{controller_path.singularize}" if action_name == "show" paths << "#{controller_path}/#{action_name}_page" paths << "#{controller_path}_page" if action_name == "index" paths << "#{controller_path.singularize}_page" if action_name == "show" paths end
Matestack allows you to use `render` to render matestack pages.
Matestack allows you to use ` render ` to render matestack pages .