mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-25 16:44:09 +01:00
Removed outer tracks directory.
This commit is contained in:
parent
649f4a44a4
commit
20940ff348
2274 changed files with 0 additions and 0 deletions
17
vendor/plugins/unobtrusive_javascript/lib/actionview_helpers_patches.rb
vendored
Normal file
17
vendor/plugins/unobtrusive_javascript/lib/actionview_helpers_patches.rb
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
module ActionView::Helpers
|
||||
def self.current_controller=(controller)
|
||||
@@current_controller = controller
|
||||
end
|
||||
|
||||
def self.current_controller
|
||||
@@current_controller
|
||||
end
|
||||
end
|
||||
|
||||
class ActionView::Helpers::InstanceTag
|
||||
include UJS::Helpers
|
||||
|
||||
def current_controller
|
||||
ActionView::Helpers.current_controller
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue