aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/link_to_helper.rb
Commit message (Collapse)AuthorAgeLines
* Use RESTful routes for CRUD admin user actionsLouise Crow2014-12-18-2/+2
|
* Move date helpers to DateTimeHelperGareth Rees2014-06-05-62/+0
|
* Remove duplication from new correspondence urlsGareth Rees2014-06-05-8/+23
|
* Add cache-busting to request response notificationGareth Rees2014-06-04-2/+6
| | | | | | Users get a new response email, click the link, but get a cached page. This is a quick fix to ensure they always see the response when clicking the link.
* Merge branch 'feature/1310-better-track-translation' into rails-3-developLouise Crow2014-04-04-6/+6
|\ | | | | | | | | Conflicts: spec/factories.rb
| * Remove explicit escaping callsLouise Crow2014-03-24-9/+9
| | | | | | | | Will be done automatically in Rails 3
* | Merge branch 'feature/1313-better-translation-markup' into rails-3-developLouise Crow2014-03-24-3/+3
|\ \
| * | Remove redundant h() callsLouise Crow2014-03-13-3/+3
| |/ | | | | | | Text will be escaped by default in Rails 3
* / Add formatting options to LinkToHelper#simple_dateGareth Rees2014-03-13-3/+48
|/
* Pass explicit value for absoluteLouise Crow2014-01-28-2/+2
| | | | Previous syntax broken under Ruby 1.8.7.
* Link 'anonymous' users to help section with explanation.Louise Crow2014-01-14-6/+19
| | | | | | | Requests submitted using the write API may have an anonymous user. Add a section to the FAQ explaining this, and link to it from those requests. Note this commit removes some 'h' calls that are no longer needed in Rails 3. Contributes to https://github.com/mysociety/alaveteli/issues/1286
* Add public criteria for message event access methodsLouise Crow2013-09-16-1/+1
| | | | | | | get_last_response_event and get_last_outgoing_event are used in various places to determine which events to link to, use in queries etc. Restrict them to refer to the last publicly visible event of the relevant type, and rename them to make that clear.
* Remove unused method.Louise Crow2013-06-25-3/+0
|
* Merge branch 'hotfix/0.8.0.1' into rails-3-developLouise Crow2013-04-02-1/+1
|\ | | | | | | | | | | Conflicts: config/environment.rb spec/mailers/track_mailer_spec.rb
| * Use full urls in outgoing_message_url as the name impliesMatthew Landauer2013-04-02-1/+1
| |
* | Change email address in header of source code to hello@mysociety.orgMatthew Landauer2013-03-26-1/+1
| |
* | Merge remote-tracking branch 'mysociety/develop' into rails-3-developHenare Degan2013-03-14-83/+99
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile Gemfile.lock app/controllers/admin_request_controller.rb app/controllers/admin_track_controller.rb app/controllers/request_controller.rb app/controllers/services_controller.rb app/helpers/link_to_helper.rb app/mailers/request_mailer.rb app/models/application_mailer.rb app/models/info_request.rb app/views/admin_censor_rule/edit.html.erb app/views/admin_censor_rule/new.html.erb app/views/admin_public_body/_form.html.erb app/views/admin_public_body/_locale_selector.html.erb app/views/admin_public_body/_one_list.html.erb app/views/admin_public_body/edit.html.erb app/views/admin_public_body/list.html.erb app/views/admin_public_body/new.html.erb app/views/admin_request/_incoming_message_actions.html.erb app/views/admin_request/edit.html.erb app/views/admin_request/edit_comment.html.erb app/views/admin_request/edit_outgoing.html.erb app/views/admin_request/list.html.erb app/views/admin_request/list_old_unclassified.html.erb app/views/admin_request/show.html.erb app/views/admin_track/_some_tracks.html.erb app/views/admin_track/list.html.erb app/views/admin_user/edit.html.erb app/views/admin_user/list.html.erb app/views/admin_user/show.html.erb app/views/general/_footer.html.erb app/views/general/exception_caught.html.erb app/views/help/contact.html.erb app/views/layouts/default.html.erb app/views/public_body/_alphabet.html.erb app/views/request/_request_listing_single.html.erb app/views/request/_sidebar.html.erb app/views/request/new.html.erb app/views/request/show.html.erb app/views/request_mailer/external_response.rhtml app/views/request_mailer/fake_response.rhtml config/environment.rb config/environments/production.rb config/routes.rb spec/controllers/admin_censor_rule_controller_spec.rb spec/controllers/request_controller_spec.rb spec/controllers/track_controller_spec.rb spec/helpers/link_to_helper_spec.rb spec/mailers/request_mailer_spec.rb spec/models/info_request_spec.rb spec/spec_helper.rb spec/views/public_body/show.html.erb_spec.rb spec/views/request/show.html.erb_spec.rb vendor/plugins/rails_xss/lib/rails_xss/erubis.rb
| * Refactor user_admin_link_for_requestMatthew Landauer2013-03-08-3/+2
| |
| * Move admin specific helpers to AdminHelperMatthew Landauer2013-03-08-18/+0
| |
| * Would help if I wrote that helper correctlyMatthew Landauer2013-03-08-2/+2
| |
| * Update admin specific helpers with new standard form of linksMatthew Landauer2013-03-08-2/+4
| |
| * Merge remote-tracking branch 'openaustralia_github/make-links-relative' into ↵Louise Crow2013-03-06-76/+106
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop Conflicts: app/controllers/admin_request_controller.rb app/models/request_mailer.rb app/views/admin_general/index.rhtml app/views/admin_general/stats.rhtml app/views/admin_public_body/_one_list.rhtml app/views/admin_public_body/_tags.rhtml app/views/admin_public_body/show.rhtml app/views/admin_request/show.rhtml app/views/admin_user/show.rhtml app/views/layouts/admin.rhtml app/views/public_body/show.rhtml app/views/request/new.rhtml
| | * Reinstate main_url and admin_url helpers with deprecation warningMatthew Landauer2013-02-18-0/+26
| | |
| | * Remove unused parameters from helper methodMatthew Landauer2013-02-15-1/+1
| | |
| | * Fix incoming_message_url to return an absolute path. Don't use this helper ↵Matthew Landauer2013-02-15-1/+1
| | | | | | | | | | | | with links
| | * Remove unused helperMatthew Landauer2013-02-15-4/+0
| | |
| | * Replace use of route_url(:only_path => true) with route_path where we canMatthew Landauer2013-02-15-2/+2
| | |
| | * Inline helper methodMatthew Landauer2013-02-15-7/+3
| | |
| | * Inline helperMatthew Landauer2013-02-15-5/+1
| | |
| | * Inline helperMatthew Landauer2013-02-15-6/+2
| | |
| | * Stop using admin_url to generate absolute url for the admin interfaceMatthew Landauer2013-02-15-9/+3
| | |
| | * Stop using main_url to generate absolute urls for the main siteMatthew Landauer2013-02-15-23/+6
| | |
| | * Make links relativeMatthew Landauer2013-02-15-0/+12
| | |
| | * Redirects should be done with absolute urlsMatthew Landauer2013-02-15-3/+6
| | |
| | * Rename helper methodMatthew Landauer2013-02-15-6/+6
| | |
| | * Make links to within the site use relative urlsMatthew Landauer2013-02-15-0/+5
| | |
| | * Redirects should be done with absolute urlsMatthew Landauer2013-02-15-1/+5
| | |
| | * Rename helper methodMatthew Landauer2013-02-15-8/+8
| | |
| | * Redirects should be done with absolute urlsMatthew Landauer2013-02-15-1/+5
| | |
| | * Rename helper methodMatthew Landauer2013-02-15-5/+5
| | |
| | * Make links to within the site use relative urlsMatthew Landauer2013-02-15-0/+12
| | |
| | * Add options parameter to url helpersMatthew Landauer2013-02-15-6/+6
| | |
| | * Rename helper methodMatthew Landauer2013-02-15-1/+1
| | |
| | * Make link to follow up message relativeMatthew Landauer2013-02-15-4/+7
| | |
| | * Make tracking links relativeMatthew Landauer2013-02-13-7/+11
| | |
| | * Inline link helper method by using a preexisting named routeMatthew Landauer2013-02-13-4/+0
| | |
| * | Inline helper methodMatthew Landauer2013-02-12-8/+0
| |/
* / Rename Configuration class to avoid conflict with ActiveSupport::ConfigurableHenare Degan2013-03-03-2/+2
|/
* Fix regression by allowing Date objects tooHenare Degan2012-11-21-1/+3
|
* Make simple_date respect the time zoneHenare Degan2012-11-18-1/+1
|