corn_starch 1.3.38 → 1.3.39

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: 3bb69ecc231b1f74856594915e730842ac078511
4
- data.tar.gz: a31ca908402580a34e410115169d75c8f0a7cd21
3
+ metadata.gz: c1f2fe1620a27d9eff94207dbf9fde55b09459cc
4
+ data.tar.gz: 6501a8a41109bb7cfb01c8e78591f2d574d26d92
5
5
  SHA512:
6
- metadata.gz: d0a476f5610561f88b6a08e2d11980f1eb4129808d8e358aeab81c9419efed9ebb9cc7c042949e1e3f477eba56fc5d9d260bbfc32ffee335169524727b1faeb0
7
- data.tar.gz: 446bc8faa6acd154f1ebdc5311c176e165ee0138e9b089ddd0a565d79ff88ae829ae7709729e4365142fbf6928260b0b12183e05b3c415b6117043cf37a26616
6
+ metadata.gz: e91ded05c32e4723255cf9d2e406b24a07608600b3c53e32a04116f48371ef038840a77b0882bcbf2cb1b587e1cc822e0dc355e7a9ba04c436fa7dda6b5d1257
7
+ data.tar.gz: 9641ceca8994afd01b36fcfcc41b806ae35fea3e7484f91cd2390719c3550b6176f11b37cdd157e17b877c41c33474a046666a4fdd690008126745f10f618896
data/config/routes.rb CHANGED
@@ -8,15 +8,19 @@ CornStarch::CornStarch.routes.draw do
8
8
  # Web Shortcuts #
9
9
  #################
10
10
 
11
- get 'login', to: 'sessions#new'
12
- get 'logout', to: 'sessions#drop'
11
+ # Locale Scoping
12
+ scope('(:locale)', locale: Regexp.new(I18n.available_locales.join '|')) do
13
13
 
14
- #######################
15
- # Resourceful Routing #
16
- #######################
14
+ get 'login', to: 'sessions#new'
15
+ get 'logout', to: 'sessions#drop'
17
16
 
18
- # Sessions
19
- resources :sessions do
20
- get 'drop', on: :collection
17
+ #######################
18
+ # Resourceful Routing #
19
+ #######################
20
+
21
+ # Sessions
22
+ resources :sessions do
23
+ get 'drop', on: :collection
24
+ end
21
25
  end
22
26
  end
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.3.38'
2
+ VERSION = '1.3.39'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_starch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.38
4
+ version: 1.3.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-06 00:00:00.000000000 Z
11
+ date: 2016-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler