Sha256: a04374c063f3f89b4f24e7055f0d8d7648f90a17e721e6cf6b5828ed0fdb6b14

Contents?: true

Size: 329 Bytes

Versions: 4

Compression:

Stored size: 329 Bytes

Contents

class UserAgentBlackListsController < 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 TheCommentsUserAgentController
end

Version data entries

4 entries across 4 versions & 1 rubygems

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