fablabbcn/fablabs

View on GitHub
app/admin/taggings.rb

Summary

Maintainability
A
0 mins
Test Coverage
ActiveAdmin.register Tagging do

  # See permitted parameters documentation:
  # https://github.com/activeadmin/activeadmin/blob/master/docs/2-resource-customization.md#setting-up-strong-parameters
  #
  # Uncomment all parameters which should be permitted for assignment
  #
  # permit_params :tag_id, :taggable_id, :taggable_type, :tagger_id, :tagger_type, :context
  #
  # or
  #
  # permit_params do
  #   permitted = [:tag_id, :taggable_id, :taggable_type, :tagger_id, :tagger_type, :context]
  #   permitted << :other if params[:action] == 'create' && current_user.admin?
  #   permitted
  # end
  
end