- before_action :require_allow_write_api, :only => [:comment, :hide_comment, :unhide_comment]
- before_action :require_public_data, :only => [:comment]
- before_action :check_api_writable, :only => [:comment, :hide_comment, :unhide_comment]
- before_action :check_api_readable, :except => [:comment, :comments_feed]
+ before_action :require_allow_write_api, :only => [:create, :hide_comment, :unhide_comment]
+ before_action :require_public_data, :only => [:create]
+ before_action :check_api_writable, :only => [:create, :hide_comment, :unhide_comment]
+ before_action :check_api_readable, :except => [:create, :comments_feed]