sunrise-cms 0.6.8 → 0.6.9
Sign up to get free protection for your applications and to get access to all the features.
data/config/routes.rb
CHANGED
@@ -10,7 +10,7 @@ Sunrise::Engine.routes.draw do
|
|
10
10
|
scope ":model_name" do
|
11
11
|
get "/", :to => :index, :as => "index", :via => [:get, :post]
|
12
12
|
get "/export.:format", :to => :export, :as => "export"
|
13
|
-
|
13
|
+
post "/sort", :to => :sort, :as => "sort"
|
14
14
|
get "/new", :to => :new, :as => "new"
|
15
15
|
post "/new", :to => :create, :as => "create"
|
16
16
|
delete "/mass_destroy", :to => :mass_destroy, :as => "mass_destroy"
|
@@ -5,7 +5,7 @@ upstream <%= app_name %>_backend {
|
|
5
5
|
}
|
6
6
|
|
7
7
|
server {
|
8
|
-
listen 5.9.
|
8
|
+
listen 5.9.144.130:80;
|
9
9
|
server_name <%= app_name %>.fodojo.com;
|
10
10
|
|
11
11
|
access_log off;
|
@@ -14,7 +14,7 @@ server {
|
|
14
14
|
|
15
15
|
root /var/www/<%= app_name %>/public;
|
16
16
|
|
17
|
-
try_files $uri $uri.html $uri/index.html cache
|
17
|
+
try_files $uri $uri.html $uri/index.html /cache/$uri/index.html /cache/$uri.html /cache/$uri @app;
|
18
18
|
|
19
19
|
location ^~ /cache {
|
20
20
|
return 404;
|
data/lib/sunrise/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sunrise-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-08-
|
13
|
+
date: 2013-08-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|