cncflora_commons 0.0.23 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cncflora_commons.rb +5 -4
- metadata +1 -1
data/lib/cncflora_commons.rb
CHANGED
@@ -99,10 +99,6 @@ end
|
|
99
99
|
def setup(file)
|
100
100
|
config_file file
|
101
101
|
|
102
|
-
use Rack::Session::Pool
|
103
|
-
set :session_secret, '1flora2'
|
104
|
-
set :views, 'src/views'
|
105
|
-
|
106
102
|
if ENV["DB"] then
|
107
103
|
set :db, ENV["DB"]
|
108
104
|
end
|
@@ -144,6 +140,11 @@ def setup(file)
|
|
144
140
|
setup! newconfig
|
145
141
|
end
|
146
142
|
|
143
|
+
use Rack::Session::Pool
|
144
|
+
|
145
|
+
set :session_secret, '1flora2'
|
146
|
+
set :views, 'src/views'
|
147
|
+
|
147
148
|
setup! @config
|
148
149
|
end
|
149
150
|
|