diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 4a0ccd7b..620c3cb7 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -9,7 +9,7 @@ private def require_no_user if authenticated? flash[:warning] = "You must be logged out." - store and redirect_to edit_user_path + store and redirect_to edit_user_path(user) return false end end diff --git a/app/views/items/show.html.erb b/app/views/items/show.html.erb index e4e6eba1..421c4465 100644 --- a/app/views/items/show.html.erb +++ b/app/views/items/show.html.erb @@ -4,7 +4,7 @@ <%= image_tag @item.item_category.icon, :class => 'icon', :size => '50x50' %>
<%= @item.desc %>
# of Synapses: <%= @map.synapses.count %>
<%= @map.desc %>
Permissions:<%= @map.permission %>
Permissions: <%= @map.permission %>