Sha256: 38d00d19dba0fa582f40d7e8ff0b205314ee0c671176198aaf224db2f1e65610

Contents?: true

Size: 375 Bytes

Versions: 15

Compression:

Stored size: 375 Bytes

Contents

module Gluttonberg
  module Admin
    module Content
      class FlagController <  Gluttonberg::Admin::BaseController
      
        def index
          @flags = Flag.all
        end
        
        def moderation 
          @flag = Flag.find(params[:id])
          @flag.moderate(params[:moderation])
          redirect_to :back
        end
  
      end
    end  
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
gluttonberg-core-2.6.4 app/controllers/gluttonberg/admin/content/flag_controller.rb
gluttonberg-core-2.6.3 app/controllers/gluttonberg/admin/content/flag_controller.rb
gluttonberg-core-2.6.2 app/controllers/gluttonberg/admin/content/flag_controller.rb
gluttonberg-core-2.6.1 app/controllers/gluttonberg/admin/content/flag_controller.rb
gluttonberg-core-2.6.0 app/controllers/gluttonberg/admin/content/flag_controller.rb
gluttonberg-core-2.5.9 app/controllers/gluttonberg/admin/content/flag_controller.rb
gluttonberg-core-2.5.8 app/controllers/gluttonberg/admin/content/flag_controller.rb
gluttonberg-core-2.5.7 app/controllers/gluttonberg/admin/content/flag_controller.rb
gluttonberg-core-2.5.6 app/controllers/gluttonberg/admin/content/flag_controller.rb
gluttonberg-core-2.5.5 app/controllers/gluttonberg/admin/content/flag_controller.rb
gluttonberg-core-2.5.4 app/controllers/gluttonberg/admin/content/flag_controller.rb
gluttonberg-core-2.5.3 app/controllers/gluttonberg/admin/content/flag_controller.rb
gluttonberg-core-2.5.2 app/controllers/gluttonberg/admin/content/flag_controller.rb
gluttonberg-core-2.5.1 app/controllers/gluttonberg/admin/content/flag_controller.rb
gluttonberg-core-2.5 app/controllers/gluttonberg/admin/content/flag_controller.rb