mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-20 00:35:22 +00:00
Namespace SailorsLog::SlackController
This commit is contained in:
parent
2c8ee24ec3
commit
f122943ae6
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
class SlackController < ApplicationController
|
||||
class SailorsLog::SlackController < ApplicationController
|
||||
skip_before_action :verify_authenticity_token
|
||||
before_action :verify_slack_request
|
||||
|
||||
|
|
@ -25,7 +25,7 @@ class SlackController < ApplicationController
|
|||
}
|
||||
|
||||
case params[:text].downcase.strip
|
||||
when "on" || "off"
|
||||
when "on", "off"
|
||||
SlackCommand::SailorsLogOnOffJob.perform_later(
|
||||
params[:user_id],
|
||||
params[:channel_id],
|
||||
Loading…
Add table
Reference in a new issue