aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/refinery/blog
Commit message (Collapse)AuthorAgeFilesLines
* Refactored everything (models, helpers) into proper namespace of ↵Philip Arndt2011-11-093-10/+10
| | | | Refinery::Blog. Requires refinery commit 25162b585b9c4023d39fd1a9796140bfa4ecb909
* setting indentation to 'rails way' for protected and private classesJamie Winsor2011-09-191-3/+3
|
* Namespace BlogController into Blog::BaseControllerJamie Winsor2011-09-193-2/+19
|
* remove duplicate BlogControllerHelper includeJamie Winsor2011-09-191-2/+0
|
* Abstract filter methods into controller helpersJamie Winsor2011-09-191-21/+2
| | | | | | This will enable users to include the controller helper into their own controllers to perform common functions - such as finding a blog post or listing all blog posts.
* remove useless commentJamie Winsor2011-09-041-1/+0
|
* refactor factories and add #show tests for posts controllerJamie Winsor2011-09-041-2/+2
| | | | | | | | | | | Do not want to cache classes, but do want to reload models after factory girl: http://groups.google.com/group/factory_girl/browse_thread/thread/daa24556d90c31fc http://stackoverflow.com/questions/5145165/associationtypemismatch-and-factorygirl rails_autolink was removed from Rails 3.1 and abstracted to an external gem fix display author name and post time on comment show fix namespace for thanking and moderated flash notices
* index action of blog post controller now caches and sweeps on changesJamie Winsor2011-09-031-2/+5
| | | | | | | | | | | | | | | fix various views which were broken and untested with rails-3-1 upgrade add request spec tests for admin blog comments Factory is now FactoryGirl Fix multiple issues around listing unmoderated comments use cleaner definitions to set per_page willpaginate attribute on models update all paginate calls to use new arel representation reorganize filter sections to be located at top of controller modify uncategorized class method to activerecord scope and perform a left outer join instead of iterate through an array to find uncategorized posts move request specs into their proper places update guardfile to ensure that request specs get run when their respective controllers are modified Fix show action for AdminBlogComments and added test Fix redirection link after approving or rejecting a comment
* Syntax fixes for Ruby 1.8.7Jamie Winsor2011-08-142-15/+5
|
* Remove per_page pagination code from controllers.Uģis Ozols2011-07-271-4/+4
|
* Move per_page pagination stuff into model to dry up posts controller.Uģis Ozols2011-07-271-10/+6
|
* Cucumber tag steps now pass.Uģis Ozols2011-07-271-8/+7
|
* Rails 3.1 - wip.Uģis Ozols2011-07-272-0/+122