Module: Pageflow::Admin::PermalinksHelper Private

Defined in:
app/helpers/pageflow/admin/permalinks_helper.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Since:

  • 12.2

Instance Method Summary collapse

Instance Method Details

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 12.2



5
6
7
8
9
10
11
12
# File 'app/helpers/pageflow/admin/permalinks_helper.rb', line 5

def collection_for_permalink_directories(theming, permalink)
  options_from_collection_for_select(
    theming.permalink_directories,
    'id',
    'path',
    permalink.directory_id
  )
end