-
- Téléchargements
show a "post is not public" message when visitor is not logged in
and tries to access a show page of a non-public post
parent
09cf60f7
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- app/assets/stylesheets/error_pages.css.scss 24 ajouts, 0 suppressionapp/assets/stylesheets/error_pages.css.scss
- app/controllers/posts_controller.rb 8 ajouts, 1 suppressionapp/controllers/posts_controller.rb
- app/models/post.rb 4 ajouts, 1 suppressionapp/models/post.rb
- app/views/errors/not_public.html.haml 14 ajouts, 0 suppressionapp/views/errors/not_public.html.haml
- config/environment.rb 2 ajouts, 0 suppressionconfig/environment.rb
- config/locales/diaspora/en.yml 2 ajouts, 0 suppressionconfig/locales/diaspora/en.yml
- features/logged_out_browsing.feature 6 ajouts, 0 suppressionfeatures/logged_out_browsing.feature
- features/step_definitions/message_steps.rb 2 ajouts, 0 suppressionfeatures/step_definitions/message_steps.rb
- features/step_definitions/new_hotness/trumpeter_steps.rb 8 ajouts, 0 suppressionfeatures/step_definitions/new_hotness/trumpeter_steps.rb
- features/support/paths.rb 5 ajouts, 0 suppressionfeatures/support/paths.rb
- lib/exceptions.rb 8 ajouts, 0 suppressionlib/exceptions.rb
- spec/controllers/posts_controller_spec.rb 16 ajouts, 6 suppressionsspec/controllers/posts_controller_spec.rb
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter