Sha256: bbb3eda97203cf76a0deb6126d94bead5bf4ead23f5304d5b6acbd9ae43defe2
Contents?: true
Size: 403 Bytes
Versions: 17
Compression:
Stored size: 403 Bytes
Contents
class Admix::BoardMessagesController < Admix::InheritedController def approve resource.approved = :approved resource.save! flash[:notice] = t('boardmessages.flashes.approved') redirect_to collection_url end def disapprove resource.approved = :disapproved resource.save! flash[:notice] = t('boardmessages.flashes.disapproved') redirect_to collection_url end end
Version data entries
17 entries across 17 versions & 2 rubygems