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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7cfa3adfb95ab4509d8e185e4b2883dfa7ef97ac
4
- data.tar.gz: 49d4a55c35121e680f3e94597c5afd749458f44b
3
+ metadata.gz: d2e72982fe1eb30307c31eb23c9c6670d58ab695
4
+ data.tar.gz: 4b94cd465af85b1f7ed27ed8b708fc24a3943162
5
5
  SHA512:
6
- metadata.gz: 9230ce3126877f9357b3b66520894135cfe8a6c26371e75a9b022ed897ddcdc57567442e95de2e5c974b7d6e26b04093fc41cff21de35e6b2f0fb73e573863d1
7
- data.tar.gz: 2da6ec020a94d9fde21a1536b8fc7c4bf91ed2c73a1457eaed3bdd218909ea84b48e68fd22d17c1f24d68cfeefa5d0ff050256bbdd4a43799a39d782062f28fc
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/>
@@ -1,3 +1,3 @@
1
1
  module OdaniaCore
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: odania_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Petersen