Method: AdminAssistant::Index::RecordFinder#belongs_to_sort_column
- Defined in:
- lib/admin_assistant/index.rb
#belongs_to_sort_column ⇒ Object
95 96 97 |
# File 'lib/admin_assistant/index.rb', line 95 def belongs_to_sort_column @index.belongs_to_columns.detect { |c| c.name.to_s == @index.sort } end |