Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix seo_helper default value

  • Loading branch information...
commit aa8895c69172fcc534a4c8f9afbb195327457554 1 parent ee99d38
@xdite authored
View
3  lib/bootstrappers/app_builder.rb
@@ -86,9 +86,6 @@ def generate_devise
def build_settings_from_config
template 'setting.rb', 'app/models/setting.rb',:force => true
- ## seo_helper initialize setting
- # FIXME : temp mark
- # template 'seo_helper.rb', 'config/initializers/seo_helper.rb',:force => true
template 'config_yml.erb', 'config/config.yml',:force => true
end
View
2  lib/bootstrappers/generators/app_generator.rb
@@ -24,7 +24,7 @@ def bootstrappers_customization
invoke :customize_gemfile
invoke :setup_database
invoke :configure_app
- # invoke :create_initializers
+ invoke :create_initializers
invoke :setup_stylesheets
invoke :remove_routes_comment_lines
invoke :setup_root_route
View
4 templates/initializers/seo_helper.rb
@@ -2,8 +2,8 @@
SeoHelper.configure do |config|
config.skip_blank = false
config.site_name = Setting.app_name
- config.default_page_description = "The easiest way to keep like stuff on facebook"
- config.default_page_keywords = "Facebook Likes Stuff"
+ config.default_page_description = "PAGE_DESSCRIPTION"
+ config.default_page_keywords = "PAGE_KEYWORDS"
config.default_page_image = Setting.domain + Setting.default_logo_url
config.site_name_formatter = lambda { |title, site_name| "#{title} « #{site_name}".html_safe }
config.pagination_formatter = lambda { |title, page_number| "#{title} - Page No.#{page_number}" }
Please sign in to comment.
Something went wrong with that request. Please try again.