docbrown/app/views
Kobe Raypole bb16b36ca7 Add policy for article manage action (#2643)
* Add policy for article manage action

This commit adds a policy for the articles#manage method. This will
prevent the error that is stopping article owners from managing their
articles.

* Hide manage button if article isnt published

* account for no current_user

* Move button logic to javascript
2019-05-02 19:31:26 -04:00
..
additional_content_boxes Small cached attribute fix (#2663) 2019-05-02 16:24:49 -04:00
admin/application Last general linting sweep (#1947) 2019-03-02 07:47:14 -08:00
api/v0 Social Cards Part 2 (#2188) 2019-05-01 11:07:25 -04:00
articles Add policy for article manage action (#2643) 2019-05-02 19:31:26 -04:00
badges Fix typo in badge show page and fix unrelated badge missing word (#1899) 2019-02-25 16:06:27 -08:00
blocks Add SRI to script tags where applicable (#2153) 2019-03-22 14:14:59 -04:00
chat_channels Enabled rubocop/lint (#2130) 2019-03-21 10:53:44 -04:00
classified_listings Update Listings Price (#2660) 2019-05-02 18:10:42 -04:00
comments Change DevComment#render to utilize html.erb (#2554) [ci skip] 2019-05-02 12:05:55 -04:00
credits Update Listings Price (#2660) 2019-05-02 18:10:42 -04:00
dashboards Add page for users to "manage" their posts after publication (distribution, etc.) (#2627) 2019-05-01 09:00:09 -04:00
devise Remove extra param and add message for prefill (#2487) 2019-04-18 15:34:50 -04:00
email_subscriptions
events
feedback_messages
fields
giveaways Add SRI to script tags where applicable (#2153) 2019-03-22 14:14:59 -04:00
homepage
html_variants Last general linting sweep (#1947) 2019-03-02 07:47:14 -08:00
internal Add application "page" model (#2657) 2019-05-02 18:24:06 -04:00
layouts Add application "page" model (#2657) 2019-05-02 18:24:06 -04:00
mailers Add mailers specs for tracking (#2523) 2019-04-23 12:38:11 -04:00
moderations Modify social share button and functionality (#2316) 2019-04-06 14:49:52 -04:00
notifications Add "ago" to article's timestamp (#2613) 2019-04-29 09:58:29 -04:00
organizations
pages Add application "page" model (#2657) 2019-05-02 18:24:06 -04:00
podcast_episodes Fix linting issues in app/views/podcast_episodes (#1898) [ci skip] 2019-02-26 13:28:40 -05:00
reading_list_items Classified Listings (#2545) 2019-04-24 16:17:01 -04:00
social_previews Social Card upgrade - Part 1 (#2090) 2019-03-22 16:28:02 -04:00
stories Small cached attribute fix (#2663) 2019-05-02 16:24:49 -04:00
stripe_subscriptions Last general linting sweep (#1947) 2019-03-02 07:47:14 -08:00
tags dev tag liquid tag render utilize html.erb (#2641) 2019-05-02 08:53:58 -04:00
twitch_live_streams Embed Twitch Live Streaming (#2591) 2019-04-29 18:11:53 -04:00
users Social Cards Part 2 (#2188) 2019-05-01 11:07:25 -04:00
videos Classified Listings (#2545) 2019-04-24 16:17:01 -04:00