diff options
author | hellekin <hellekin@cepheide.org> | 2020-10-09 10:29:34 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2020-10-09 10:29:34 +0200 |
commit | d242fb5bbc423876f4c192b5f133619a2d4f0113 (patch) | |
tree | 5da6478cd67c49406d8678aa7e99f949419f905c /app/views/resources/new.html.erb | |
parent | f48ce2f4c934fde3862cdad593eececc7a567d61 (diff) | |
download | incommon-map-d242fb5bbc423876f4c192b5f133619a2d4f0113.tar.gz |
Scope routes to Agent
Since an Agent is required for all records, we scope the routes
and get it present for free ;)
This commit also adds resource views.
Diffstat (limited to 'app/views/resources/new.html.erb')
-rw-r--r-- | app/views/resources/new.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/resources/new.html.erb b/app/views/resources/new.html.erb index c29e88a..80d8206 100644 --- a/app/views/resources/new.html.erb +++ b/app/views/resources/new.html.erb @@ -1,2 +1,2 @@ -<h1>Resources#new</h1> -<p>Find me in app/views/resources/new.html.erb</p> +<%= render partial: 'edit', locals: { resource: @resource } %> + |