Permalink
Browse files

rename application to match repository

  • Loading branch information...
1 parent 36d4a33 commit f54e92bb312375df6dfc345f8cd8a7c6428525ff @matthewford matthewford committed Aug 9, 2012
View
@@ -1,12 +1,12 @@
-# TariffWebApp
+# TradeTariffFrontend
A web application front end for use with the UK Trade Tariff API.
Please ensure the API is running and properly configured in the
-enviroments files.
+environment files.
Assumes the GDS development envrionment is setup via puppet.
-## Run TariffWebApp
+## Run TradeTariffFrontend
```
./startup.sh
View
@@ -6,4 +6,4 @@ require File.expand_path('../config/application', __FILE__)
require 'ci/reporter/rake/rspec'
-TariffWeb::Application.load_tasks
+TradeTariffFrontend::Application.load_tasks
View
@@ -1,4 +1,4 @@
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
-run TariffWeb::Application
+run TradeTariffFrontend::Application
@@ -12,7 +12,7 @@
APP_SLUG = 'trade-tariff'
-module TariffWeb
+module TradeTariffFrontend
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
@@ -2,4 +2,4 @@
require File.expand_path('../application', __FILE__)
# Initialize the rails application
-TariffWeb::Application.initialize!
+TradeTariffFrontend::Application.initialize!
@@ -1,4 +1,4 @@
-TariffWeb::Application.configure do
+TradeTariffFrontend::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# In the development environment your application's code is reloaded on
@@ -1,4 +1,4 @@
-TariffWeb::Application.configure do
+TradeTariffFrontend::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# Code is not reloaded between requests
@@ -1,4 +1,4 @@
-TariffWeb::Application.configure do
+TradeTariffFrontend::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# The test environment is used exclusively to run your application's
@@ -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.
-TariffWeb::Application.config.secret_token = '74c6f7889a662230804792dd19a2cc6a970f119fc9cef320c3012916380f2b4a0540ec31dc0b033d12e3ae174464f3e642bd45305010398ed0a86142da83bd15'
+TradeTariffFrontend::Application.config.secret_token = '74c6f7889a662230804792dd19a2cc6a970f119fc9cef320c3012916380f2b4a0540ec31dc0b033d12e3ae174464f3e642bd45305010398ed0a86142da83bd15'
@@ -1,8 +1,8 @@
# Be sure to restart your server when you modify this file.
-TariffWeb::Application.config.session_store :cookie_store, key: '_uktt_session'
+TradeTariffFrontend::Application.config.session_store :cookie_store, key: '_tradetarifffrontend_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 "rails generate session_migration")
-# TariffWeb::Application.config.session_store :active_record_store
+# TradeTariffFrontend::Application.config.session_store :active_record_store
View
@@ -1,4 +1,4 @@
-TariffWeb::Application.routes.draw do
+TradeTariffFrontend::Application.routes.draw do
scope :path => "#{APP_SLUG}" do
get "/" => "pages#index"
match "/search" => "search#search", via: :get, as: :perform_search

0 comments on commit f54e92b

Please sign in to comment.