Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Rename guides app to 'publisher' (dull, but appropriate). Will stay a…

…t the same URL for now
  • Loading branch information...
commit abd7f88f875bc76a6bce2d558bb8ef752a7fd255 1 parent 6413346
@jystewart jystewart authored
View
2  Rakefile
@@ -4,4 +4,4 @@
require File.expand_path('../config/application', __FILE__)
require 'rake'
-Guides::Application.load_tasks
+Publisher::Application.load_tasks
View
2  app/mailers/noisy_workflow.rb
@@ -7,6 +7,6 @@ def make_noise(guide,action)
@guide = guide
@action = action
mail(:to => "eds@alphagov.co.uk",
- :subject => "[GUIDES/ANSWERS] " + @action.friendly_description)
+ :subject => "[PUBLISHER] " + @action.friendly_description)
end
end
View
2  config.ru
@@ -1,4 +1,4 @@
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
-run Guides::Application
+run Publisher::Application
View
2  config/application.rb
@@ -11,7 +11,7 @@
# you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env) if defined?(Bundler)
-module Guides
+module Publisher
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
View
2  config/environment.rb
@@ -2,4 +2,4 @@
require File.expand_path('../application', __FILE__)
# Initialize the rails application
-Guides::Application.initialize!
+Publisher::Application.initialize!
View
2  config/environments/development.rb
@@ -1,4 +1,4 @@
-Guides::Application.configure do
+Publisher::Application.configure do
# Settings specified here will take precedence over those in config/environment.rb
# In the development environment your application's code is reloaded on
View
2  config/environments/production.rb
@@ -1,4 +1,4 @@
-Guides::Application.configure do
+Publisher::Application.configure do
# Settings specified here will take precedence over those in config/environment.rb
# The production environment is meant for finished, "live" apps.
View
2  config/environments/staging.rb
@@ -1,6 +1,6 @@
require File.expand_path('production.rb', File.dirname(__FILE__))
-Guides::Application.configure do
+Publisher::Application.configure do
config.action_controller.asset_host = 'staging.alphagov.co.uk:8080'
config.action_mailer.smtp_settings = {:enable_starttls_auto => false}
end
View
2  config/environments/test.rb
@@ -1,4 +1,4 @@
-Guides::Application.configure do
+Publisher::Application.configure do
# Settings specified here will take precedence over those in config/environment.rb
# The test environment is used exclusively to run your application's
View
4 config/initializers/exception_notification.rb
@@ -1,6 +1,6 @@
unless Rails.env.development? or Rails.env.test?
- Guides::Application.config.middleware.use ExceptionNotifier,
- :email_prefix => "[Guides] ",
+ Publisher::Application.config.middleware.use ExceptionNotifier,
+ :email_prefix => "[Publisher] ",
:sender_address => %{"Winston Smith-Churchill" <winston@alphagov.co.uk>},
:exception_recipients => %w{dev@alphagov.co.uk}
end
View
2  config/initializers/secret_token.rb
@@ -4,4 +4,4 @@
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
-Guides::Application.config.secret_token = 'f647607dffea898a0f668fea448896db7ca3a0527f9e926db3ae629617cd64e16d2b4d357dcb312ed3f4ae5daaad98c589bb0ef1da4c251c0234b457d2e4a49f'
+Publisher::Application.config.secret_token = 'f647607dffea898a0f668fea448896db7ca3a0527f9e926db3ae629617cd64e16d2b4d357dcb312ed3f4ae5daaad98c589bb0ef1da4c251c0234b457d2e4a49f'
View
4 config/initializers/session_store.rb
@@ -1,8 +1,8 @@
# Be sure to restart your server when you modify this file.
-Guides::Application.config.session_store :cookie_store, :key => '_mguides_session'
+Publisher::Application.config.session_store :cookie_store, :key => '_publisher_session'
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
# (create the session table with "rake db:sessions:create")
-# Guides::Application.config.session_store :active_record_store
+# Publisher::Application.config.session_store :active_record_store
View
2  config/routes.rb
@@ -7,7 +7,7 @@ def matches?(request)
end
end
-Guides::Application.routes.draw do
+Publisher::Application.routes.draw do
# authenticate :user do
match '/preview/places/:edition_id' => PlacesFrontEnd::Preview, :anchor => false, :as => :places_preview_edition_prefix
match '/preview/:edition_id' => GuidesFrontEnd::Preview, :anchor => false, :as => :preview_edition_prefix
Please sign in to comment.
Something went wrong with that request. Please try again.