Method: Pageflow::Admin::FeaturesTab#build
- Defined in:
- app/views/components/pageflow/admin/features_tab.rb
#build(resource) ⇒ Object
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.
5 6 7 8 |
# File 'app/views/components/pageflow/admin/features_tab.rb', line 5 def build(resource) feature_target = resource.is_a?(Site) ? resource.account : resource render('admin/features/form', resource: feature_target) end |