Sha256: 4f38f6dc72459e8a14d3b87c514f4913776e51c40a9d21d4f2678f7ad9c035de

Contents?: true

Size: 315 Bytes

Versions: 4

Compression:

Stored size: 315 Bytes

Contents

class IpBlackListsController < ApplicationController
  # Define your restrict methods and use them like this:
  # 
  # before_action :user_required
  # before_action :admin_required
  # 
  # Only Admin should have an access to following methods
  # Methods: [:index, :to_state]
  include TheCommentsIpController
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
the_comments-1.1.0 lib/generators/the_comments/templates/ip_black_lists_controller.rb
the_comments-1.0.0 lib/generators/the_comments/templates/ip_black_lists_controller.rb
the_comments-0.9.9 lib/generators/the_comments/templates/ip_black_lists_controller.rb
the_comments-0.9.0 lib/generators/the_comments/templates/ip_black_lists_controller.rb