aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/respond_with
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2009-08-01 15:29:39 +0200
committerJosé Valim <jose.valim@gmail.com>2009-08-07 17:16:15 +0200
commitf59984cc81bd1a64a53a2480a9b4e05fe7357d7c (patch)
tree66e77bc67fb50cd5dccf19f41120aceab80f21b1 /actionpack/test/fixtures/respond_with
parentc44f7e39f46058842845f8c95c3e49f7c59c3aad (diff)
downloadrails-f59984cc81bd1a64a53a2480a9b4e05fe7357d7c.tar.gz
rails-f59984cc81bd1a64a53a2480a9b4e05fe7357d7c.tar.bz2
rails-f59984cc81bd1a64a53a2480a9b4e05fe7357d7c.zip
Add nagivational behavior to respond_with.
Diffstat (limited to 'actionpack/test/fixtures/respond_with')
-rw-r--r--actionpack/test/fixtures/respond_with/edit.html.erb1
-rw-r--r--actionpack/test/fixtures/respond_with/new.html.erb1
-rw-r--r--actionpack/test/fixtures/respond_with/using_resource.html.erb1
-rw-r--r--actionpack/test/fixtures/respond_with/using_resource.js.rjs1
4 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/test/fixtures/respond_with/edit.html.erb b/actionpack/test/fixtures/respond_with/edit.html.erb
new file mode 100644
index 0000000000..ae82dfa4fc
--- /dev/null
+++ b/actionpack/test/fixtures/respond_with/edit.html.erb
@@ -0,0 +1 @@
+Edit world!
diff --git a/actionpack/test/fixtures/respond_with/new.html.erb b/actionpack/test/fixtures/respond_with/new.html.erb
new file mode 100644
index 0000000000..96c8f1b88b
--- /dev/null
+++ b/actionpack/test/fixtures/respond_with/new.html.erb
@@ -0,0 +1 @@
+New world!
diff --git a/actionpack/test/fixtures/respond_with/using_resource.html.erb b/actionpack/test/fixtures/respond_with/using_resource.html.erb
deleted file mode 100644
index 6769dd60bd..0000000000
--- a/actionpack/test/fixtures/respond_with/using_resource.html.erb
+++ /dev/null
@@ -1 +0,0 @@
-Hello world! \ No newline at end of file
diff --git a/actionpack/test/fixtures/respond_with/using_resource.js.rjs b/actionpack/test/fixtures/respond_with/using_resource.js.rjs
new file mode 100644
index 0000000000..737c175a4e
--- /dev/null
+++ b/actionpack/test/fixtures/respond_with/using_resource.js.rjs
@@ -0,0 +1 @@
+page[:body].visual_effect :highlight