diff --git a/app/controllers/mappings_controller.rb b/app/controllers/mappings_controller.rb index 8160c6e3..f93babf8 100644 --- a/app/controllers/mappings_controller.rb +++ b/app/controllers/mappings_controller.rb @@ -1,4 +1,4 @@ -class MappingController < ApplicationController +class MappingsController < ApplicationController # GET mappings def index end @@ -26,7 +26,7 @@ class MappingController < ApplicationController @topic = Topic.find(params[:topic][:id]) @mapping.topic = @topic end - else if params[:synapse] + elsif params[:synapse] if params[:synapse][:id] @topic = Synapse.find(params[:synapse][:id]) @mapping.synapse = @synapse diff --git a/app/views/mapping/new.html.erb b/app/views/mapping/new.html.erb deleted file mode 100644 index 6fba56ad..00000000 --- a/app/views/mapping/new.html.erb +++ /dev/null @@ -1,2 +0,0 @@ -

Mapping#new

-

Find me in app/views/mapping/new.html.erb