AutoCommit Don Aug 6 21:03:01 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-08-06 21:03:01 +02:00
parent 390075aa7f
commit 0c0e7ba051
8 changed files with 13 additions and 7 deletions

View File

@@ -5,6 +5,7 @@ class Survey::Question < ActiveRecord::Base
has_many :answers, through: :choices
include IsCommentable
FLAG_ICONS={"delete" => "fa fa-trash"}
FLAG_CONFIRM={}
scope :templates, ->{ where(flag_template:true)}
acts_as_flagable