thecore 1.5.8 → 1.5.9

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: 15452c0600033c6c982e51cb2e9cfb11530d1974
4
- data.tar.gz: 61c8bd7462ee6ccd73fc5e8abaffda83eeaa07cf
3
+ metadata.gz: c00ba2aacc2a4ee2da95cb217325fc4a1af9ae44
4
+ data.tar.gz: 3a05ff444e2d1dd7176481cfd1baad7c51d99078
5
5
  SHA512:
6
- metadata.gz: 956a5552ab9e7537ce5ef01f9405044d334ae4acd1d25a147703631f9c30afffad7a464d01b17a6f400bbd72585c9a2b8c13e5f3f0486e9b0a3e551e5bdee372
7
- data.tar.gz: b748e1a02bd821a5092cc4bdc15220257c1ab0b118f0b1d572d5d71fdf7a1cb61104041f2b775c47a26af62e1a5d4b48c51fba796dd6c4ea1ba9ea9882e05c9a
6
+ metadata.gz: 7fbddf6636621ed8ab2841162516292dc4e3c0ed42ca82c9f0a7c715daf8aa3f6feb3d9abbd7422da9256105a3aa3b2456287d1ca3a963b9990fa2d74b9c8836
7
+ data.tar.gz: f1b2c06987d03538b49eee5264b526a99b8db76b4734a2aff14fbaafe4db74f1799ad41003c4060ed1e53fb7445bfc8087a056b31253e5e83a3e6934645030bb
@@ -10,11 +10,7 @@ class Ckeditor::Picture < Ckeditor::Asset
10
10
 
11
11
  def url_content
12
12
  # url(:content)
13
- url_t = if ENV['RAILS_URL'].blank? || ENV['RAILS_RELATIVE_URL_ROOT'].blank?
14
- "http://localhost:3000"
15
- else
16
- "#{ENV['RAILS_URL']}#{ENV['RAILS_RELATIVE_URL_ROOT']}"
17
- end
13
+ url_t = (ENV['RAILS_URL'].blank? || ENV['RAILS_RELATIVE_URL_ROOT'].blank?) ? "http://localhost:3000" : "#{ENV['RAILS_URL']}#{ENV['RAILS_RELATIVE_URL_ROOT']}"
18
14
  "#{url_t}#{url(:content)}"
19
15
  end
20
16
  end
data/config/routes.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  Rails.application.routes.draw do
2
2
  # mount RailsAdminSelectize::Engine => '/rails-admin-selectize', as: 'rails_admin_selectize'
3
3
  mount RailsAdmin::Engine => '/app', as: 'rails_admin'
4
- mount Ckeditor::Engine => '/ckeditor'
4
+ mount Ckeditor::Engine => '/development/showcase-backend/ckeditor'
5
5
 
6
6
  get "home", to: "pages#home", as: "home"
7
7
  get "inside", to: "pages#inside", as: "inside"
@@ -1,3 +1,3 @@
1
1
  module Thecore
2
- VERSION = '1.5.8'.freeze
2
+ VERSION = '1.5.9'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.8
4
+ version: 1.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni