odania_core 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/admin/odania/shared/_menu.html.erb +1 -1
- data/lib/odania_core/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2e72982fe1eb30307c31eb23c9c6670d58ab695
|
4
|
+
data.tar.gz: 4b94cd465af85b1f7ed27ed8b708fc24a3943162
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c724b29925875194b3665a87dc32cfd07aad4a5fa7dd2509e02030cffb190955e449afb99490bdd0a6dd5bfc3810b5f70aff2cbc0e7782852163f1a4ecd1ceb
|
7
|
+
data.tar.gz: 104c0eb65e3743679719799d554a38847219a558458ccbb7d00fc9d442e5b45897aff621a45dd32c700501b71b01930d2f736c589e2c4409687045893198dba1
|
@@ -5,7 +5,7 @@
|
|
5
5
|
<% end %>
|
6
6
|
<br/>
|
7
7
|
<%= form_tag(select_odania_menu_admin_odania_menus_path(return_to: request.path)) do %>
|
8
|
-
<%= collection_select(:menu, :id, Odania::Menu.order('title ASC'), :id, :title, selected: (@odania_menu.nil? ? nil : @odania_menu.id)) %>
|
8
|
+
<%= collection_select(:menu, :id, Odania::Menu.where(site_id: session[:site_id]).order('title ASC'), :id, :title, selected: (@odania_menu.nil? ? nil : @odania_menu.id)) %>
|
9
9
|
<%= submit_tag 'Select' %>
|
10
10
|
<% end %>
|
11
11
|
<br/>
|
data/lib/odania_core/version.rb
CHANGED