mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-12 18:34:22 +01:00
Updated to svn tags/tracks-1.6
This commit is contained in:
parent
103fcb8049
commit
02496f2d44
2274 changed files with 0 additions and 0 deletions
10
vendor/plugins/unobtrusive_javascript/test/lib/stubs/controller_stub.rb
vendored
Normal file
10
vendor/plugins/unobtrusive_javascript/test/lib/stubs/controller_stub.rb
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
require 'action_controller/test_process'
|
||||
require 'ujs/controller_methods'
|
||||
|
||||
class ControllerStub < ActionController::Base
|
||||
def index
|
||||
render :nothing => true
|
||||
end
|
||||
end
|
||||
|
||||
ControllerStub.send(:include, UJS::ControllerMethods)
|
||||
Loading…
Add table
Add a link
Reference in a new issue