Skip to content

Instantly share code, notes, and snippets.

@stoplion
Created September 5, 2012 23:28
Show Gist options
  • Save stoplion/3647536 to your computer and use it in GitHub Desktop.
Save stoplion/3647536 to your computer and use it in GitHub Desktop.
Everything you can override in a refinerycms project with refinerycms-blog
When starting a project that includes refinerycms-blog:
$ rake refinery:override view=refinery/pages/*
$ rake refinery:override view=layouts/*
$ rake refinery:override view=refinery/blog/shared/*
$ rake refinery:override view=refinery/blog/posts/*
$ rake refinery:override view=refinery/*
$ rake refinery:override controller=refinery/blog/*
$ rake refinery:override controller=refinery/*
For example:
$ rake refinery:override view=refinery/pages/show
$ rake refinery:override view=refinery/pages/home
$ rake refinery:override view=refinery/_content_page
(Trim the ‘.html.erb’ from the end of the view file name)
app/controllers/application_controller.rb
app/controllers/refinery/admin/core_controller.rb
app/controllers/refinery/admin/dashboard_controller.rb
app/controllers/refinery/admin/dialogs_controller.rb
app/controllers/refinery/admin/images_controller.rb
app/controllers/refinery/admin/page_parts_controller.rb
app/controllers/refinery/admin/pages_controller.rb
app/controllers/refinery/admin/pages_dialogs_controller.rb
app/controllers/refinery/admin/resources_controller.rb
app/controllers/refinery/admin/settings_controller.rb
app/controllers/refinery/admin/users_controller.rb
app/controllers/refinery/admin_controller.rb
app/controllers/refinery/blog/admin/categories_controller.rb
app/controllers/refinery/blog/admin/comments_controller.rb
app/controllers/refinery/blog/admin/posts_controller.rb
app/controllers/refinery/blog/admin/settings_controller.rb
app/controllers/refinery/blog/blog_controller.rb
app/controllers/refinery/blog/categories_controller.rb
app/controllers/refinery/blog/posts_controller.rb
app/controllers/refinery/fast_controller.rb
app/controllers/refinery/page_sweeper.rb
app/controllers/refinery/pages_controller.rb
app/controllers/refinery/passwords_controller.rb
app/controllers/refinery/sessions_controller.rb
app/controllers/refinery/sitemap_controller.rb
app/controllers/refinery/users_controller.rb
app/models/refinery/blog/category.rb
app/models/refinery/blog/comment.rb
app/models/refinery/blog/comment_mailer.rb
app/models/refinery/blog/post.rb
app/models/refinery/categorization.rb
app/models/refinery/core/base_model.rb
app/models/refinery/image.rb
app/models/refinery/page.rb
app/models/refinery/page_part.rb
app/models/refinery/resource.rb
app/models/refinery/role.rb
app/models/refinery/roles_users.rb
app/models/refinery/setting.rb
app/models/refinery/user.rb
app/models/refinery/user_plugin.rb
app/views/admin/pages/_sortable_list.html.erb
app/views/layouts/application.html.erb
app/views/layouts/refinery/admin.html.erb
app/views/layouts/refinery/admin_dialog.html.erb
app/views/layouts/refinery/flash.html.erb
app/views/refinery/_content_page.html.erb
app/views/refinery/_draft_page_message.html.erb
app/views/refinery/_footer.html.erb
app/views/refinery/_google_analytics.html.erb
app/views/refinery/_head.html.erb
app/views/refinery/_header.html.erb
app/views/refinery/_html_tag.html.erb
app/views/refinery/_ie6check.html.erb
app/views/refinery/_javascripts.html.erb
app/views/refinery/_menu.html.erb
app/views/refinery/_menu_branch.html.erb
app/views/refinery/_message.html.erb
app/views/refinery/_no_script.html.erb
app/views/refinery/_site_bar.html.erb
app/views/refinery/admin/_continue_editing.html.erb
app/views/refinery/admin/_dialog_success.html.erb
app/views/refinery/admin/_error_messages.html.erb
app/views/refinery/admin/_form_actions.html.erb
app/views/refinery/admin/_head.html.erb
app/views/refinery/admin/_image_picker.html.erb
app/views/refinery/admin/_javascripts.html.erb
app/views/refinery/admin/_make_sortable.html.erb
app/views/refinery/admin/_menu.html.erb
app/views/refinery/admin/_resource_picker.html.erb
app/views/refinery/admin/_search.html.erb
app/views/refinery/admin/_sortable_list.html.erb
app/views/refinery/admin/_tabbed_fields.html.erb
app/views/refinery/admin/dashboard/_actions.html.erb
app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb
app/views/refinery/admin/dashboard/_recent_activity.html.erb
app/views/refinery/admin/dashboard/_recent_inquiries.html.erb
app/views/refinery/admin/dashboard/_records.html.erb
app/views/refinery/admin/dashboard/index.html.erb
app/views/refinery/admin/dashboard/index.rss.builder
app/views/refinery/admin/dialogs/show.html.erb
app/views/refinery/admin/images/_actions.html.erb
app/views/refinery/admin/images/_existing_image.html.erb
app/views/refinery/admin/images/_form.html.erb
app/views/refinery/admin/images/_grid_view.html.erb
app/views/refinery/admin/images/_images.html.erb
app/views/refinery/admin/images/_list_view.html.erb
app/views/refinery/admin/images/_list_view_image.html.erb
app/views/refinery/admin/images/_records.html.erb
app/views/refinery/admin/images/edit.html.erb
app/views/refinery/admin/images/index.html.erb
app/views/refinery/admin/images/insert.html.erb
app/views/refinery/admin/images/new.html.erb
app/views/refinery/admin/pages/_actions.html.erb
app/views/refinery/admin/pages/_form.html.erb
app/views/refinery/admin/pages/_form_advanced_options.html.erb
app/views/refinery/admin/pages/_form_advanced_options_seo.html.erb
app/views/refinery/admin/pages/_form_fields_after_title.html.erb
app/views/refinery/admin/pages/_form_new_page_parts.html.erb
app/views/refinery/admin/pages/_form_page_parts.html.erb
app/views/refinery/admin/pages/_locale_picker.html.erb
app/views/refinery/admin/pages/_page.html.erb
app/views/refinery/admin/pages/_page_part_field.html.erb
app/views/refinery/admin/pages/_records.html.erb
app/views/refinery/admin/pages/_sortable_list.html.erb
app/views/refinery/admin/pages/children.html.erb
app/views/refinery/admin/pages/edit.html.erb
app/views/refinery/admin/pages/index.html.erb
app/views/refinery/admin/pages/new.html.erb
app/views/refinery/admin/pages_dialogs/_page_link.html.erb
app/views/refinery/admin/pages_dialogs/link_to.html.erb
app/views/refinery/admin/resources/_actions.html.erb
app/views/refinery/admin/resources/_existing_resource.html.erb
app/views/refinery/admin/resources/_form.html.erb
app/views/refinery/admin/resources/_records.html.erb
app/views/refinery/admin/resources/_resource.html.erb
app/views/refinery/admin/resources/_resources.html.erb
app/views/refinery/admin/resources/edit.html.erb
app/views/refinery/admin/resources/index.html.erb
app/views/refinery/admin/resources/insert.html.erb
app/views/refinery/admin/resources/new.html.erb
app/views/refinery/admin/settings/_actions.html.erb
app/views/refinery/admin/settings/_form.html.erb
app/views/refinery/admin/settings/_records.html.erb
app/views/refinery/admin/settings/_setting.html.erb
app/views/refinery/admin/settings/_settings.html.erb
app/views/refinery/admin/settings/edit.html.erb
app/views/refinery/admin/settings/index.html.erb
app/views/refinery/admin/settings/new.html.erb
app/views/refinery/admin/users/_actions.html.erb
app/views/refinery/admin/users/_form.html.erb
app/views/refinery/admin/users/_records.html.erb
app/views/refinery/admin/users/_user.html.erb
app/views/refinery/admin/users/_users.html.erb
app/views/refinery/admin/users/edit.html.erb
app/views/refinery/admin/users/index.html.erb
app/views/refinery/admin/users/new.html.erb
app/views/refinery/blog/admin/_submenu.html.erb
app/views/refinery/blog/admin/categories/_category.html.erb
app/views/refinery/blog/admin/categories/_form.html.erb
app/views/refinery/blog/admin/categories/_sortable_list.html.erb
app/views/refinery/blog/admin/categories/edit.html.erb
app/views/refinery/blog/admin/categories/index.html.erb
app/views/refinery/blog/admin/categories/new.html.erb
app/views/refinery/blog/admin/comments/_comment.html.erb
app/views/refinery/blog/admin/comments/_sortable_list.html.erb
app/views/refinery/blog/admin/comments/index.html.erb
app/views/refinery/blog/admin/comments/show.html.erb
app/views/refinery/blog/admin/posts/_form.html.erb
app/views/refinery/blog/admin/posts/_form_part.html.erb
app/views/refinery/blog/admin/posts/_post.html.erb
app/views/refinery/blog/admin/posts/_sortable_list.html.erb
app/views/refinery/blog/admin/posts/_teaser_part.html.erb
app/views/refinery/blog/admin/posts/edit.html.erb
app/views/refinery/blog/admin/posts/index.html.erb
app/views/refinery/blog/admin/posts/new.html.erb
app/views/refinery/blog/admin/posts/uncategorized.html.erb
app/views/refinery/blog/admin/settings/notification_recipients.html.erb
app/views/refinery/blog/categories/show.html.erb
app/views/refinery/blog/comment_mailer/notification.html.erb
app/views/refinery/blog/posts/_comment.html.erb
app/views/refinery/blog/posts/_comments.html.erb
app/views/refinery/blog/posts/_nav.html.erb
app/views/refinery/blog/posts/_post.html.erb
app/views/refinery/blog/posts/archive.html.erb
app/views/refinery/blog/posts/index.html.erb
app/views/refinery/blog/posts/index.rss.builder
app/views/refinery/blog/posts/show.html.erb
app/views/refinery/blog/posts/tagged.html.erb
app/views/refinery/blog/shared/_body_content_right.html.erb
app/views/refinery/blog/shared/_categories.html.erb
app/views/refinery/blog/shared/_post.html.erb
app/views/refinery/blog/shared/_posts.html.erb
app/views/refinery/blog/shared/_rss_feed.html.erb
app/views/refinery/blog/shared/_tags.html.erb
app/views/refinery/blog/widgets/_blog_archive.html.erb
app/views/refinery/layouts/login.html.erb
app/views/refinery/pages/home.html.erb
app/views/refinery/pages/show.html.erb
app/views/refinery/passwords/edit.html.erb
app/views/refinery/passwords/new.html.erb
app/views/refinery/sessions/new.html.erb
app/views/refinery/shared/admin/_autocomplete.html.erb
app/views/refinery/sitemap/index.xml.builder
app/views/refinery/user_mailer/reset_notification.html.erb
app/views/refinery/user_mailer/reset_notification.text.plain.erb
app/views/refinery/users/new.html.erb
app/views/refinery/wymiframe.html.erb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment