1. 23 Sep, 2018 1 commit
    • gfyoung's avatar
      Enable more frozen string in app/controllers/ · be42c050
      gfyoung authored
      Enables frozen string for the following:
      
      * app/controllers/dashboard/**/*.rb
      * app/controllers/explore/**/*.rb
      * app/controllers/google_api/**/*.rb
      * app/controllers/groups/**/*.rb
      * app/controllers/import/**/*.rb
      * app/controllers/instance_statistics/**/*.rb
      * app/controllers/ldap/**/*.rb
      * app/controllers/oauth/**/*.rb
      * app/controllers/profiles/**/*.rb
      
      Partially addresses #47424.
      be42c050
  2. 10 Feb, 2017 1 commit
  3. 27 Jul, 2016 1 commit
    • Connor Shea's avatar
      Replace reject_blocked with reject_blocked! in callbacks. · b1c94754
      Connor Shea authored
      In Rails 4.2 and below, skipping callbacks (skip_before_action, skip_after_action, etc.) that use methods which do not exist will not throw any errors.
      
      On the other hand, Rails 5 does. See https://github.com/rails/rails/pull/19029
      
      After testing with Rails 5 I noticed there are some methods that don't actually exist (because they were renamed, usually), this fixes a few instances of those.
      
      reject_blocked! was introduced in c9def945, I can't find any references to reject_blocked ever existing.
      b1c94754
  4. 08 Sep, 2015 1 commit
    • Douwe Maan's avatar
      Clean up overlap between dashboard and explore. · 5d785457
      Douwe Maan authored
      - Split up SnippetsController into separate dashboard and explore sections.
      - Use consistent page titles, header titles and sidebars between dashboard and explore sections when signed in or not.
      5d785457
  5. 01 May, 2015 1 commit
  6. 30 Apr, 2015 1 commit