-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move ptime connection to concerns and rename it to people_controller
- Loading branch information
1 parent
b9c7959
commit 3874b7c
Showing
5 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
lib/ptime/ptime_connection.rb → ...llers/concerns/ptime/people_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module Ptime | ||
module PtimeConnection | ||
module PeopleController | ||
def show | ||
return export if format_odt? | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
module CustomExceptions | ||
|
||
class PTimeClientError < StandardError; end | ||
class PTimeTemporarilyUnavailableError < StandardError; end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Rails.application.config.to_prepare do | ||
PeopleController.include Ptime::PeopleController if Skills.ptime_available? | ||
end |
This file was deleted.
Oops, something went wrong.