Sha256: a32ca9a15a33d5779a83fd3fbba31a68954e4c8f7a196007785da3ac188593b0

Contents?: true

Size: 244 Bytes

Versions: 3

Compression:

Stored size: 244 Bytes

Contents

- filter_name = :by_project_id
- define_filter filter_name do
  - filters = Project.all.collect{|project| {:title => project.to_s, :value => project.id} }
  = boot_nav_filter(filter_name, [{:title => t('bookyt.all'), :value => nil}] + filters)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bookyt_projects-1.1.2 app/views/filters/_by_project.html.haml
bookyt_projects-1.1.1 app/views/filters/_by_project.html.haml
bookyt_projects-1.1.0 app/views/filters/_by_project.html.haml