my_forum 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +12 -1
- data/Rakefile +4 -3
- data/{test/dummy/public/favicon.ico → app/assets/javascripts/my_forum/admin/categories.js.coffee} +0 -0
- data/app/assets/javascripts/my_forum/admin/dashboard.js.coffee +0 -0
- data/app/assets/javascripts/my_forum/admin/forums.js.coffee +0 -0
- data/app/assets/javascripts/my_forum/admin/roles.js +2 -0
- data/app/assets/javascripts/my_forum/admin/users.js +2 -0
- data/app/assets/javascripts/my_forum/application.js +6 -0
- data/app/assets/javascripts/my_forum/forums.js.coffee +0 -0
- data/app/assets/javascripts/my_forum/jquery.scrollTo.min.js +7 -0
- data/app/assets/javascripts/my_forum/jquery.selection.js +354 -0
- data/app/assets/javascripts/my_forum/my_forum.js.coffee +118 -0
- data/app/assets/javascripts/my_forum/posts.js.coffee +20 -0
- data/app/assets/javascripts/my_forum/topics.js.coffee +0 -0
- data/app/assets/javascripts/my_forum/users.js.coffee +0 -0
- data/app/assets/javascripts/my_forum/welcome.js.coffee +0 -0
- data/app/assets/stylesheets/my_forum/admin/categories.css.scss +0 -0
- data/app/assets/stylesheets/my_forum/admin/dashboard.css.scss +3 -0
- data/app/assets/stylesheets/my_forum/admin/forums.css.scss +7 -0
- data/app/assets/stylesheets/my_forum/admin/roles.css +4 -0
- data/app/assets/stylesheets/my_forum/admin/users.css +4 -0
- data/app/assets/stylesheets/my_forum/application.css.scss +80 -0
- data/app/assets/stylesheets/my_forum/forums.css.scss +31 -0
- data/app/assets/stylesheets/my_forum/posts.css.scss +138 -0
- data/app/assets/stylesheets/my_forum/private_messages.css.scss +11 -0
- data/app/assets/stylesheets/my_forum/topics.css.scss +16 -0
- data/app/assets/stylesheets/my_forum/users.css.scss +3 -0
- data/app/assets/stylesheets/my_forum/welcome.css.scss +73 -0
- data/app/controllers/my_forum/admin/categories_controller.rb +36 -0
- data/app/controllers/my_forum/admin/dashboard_controller.rb +13 -0
- data/app/controllers/my_forum/admin/emoticons_controller.rb +65 -0
- data/app/controllers/my_forum/admin/forums_controller.rb +35 -0
- data/app/controllers/my_forum/admin/mail_controller.rb +31 -0
- data/app/controllers/my_forum/admin/roles_controller.rb +38 -0
- data/app/controllers/my_forum/admin/users_controller.rb +14 -0
- data/app/controllers/my_forum/application_controller.rb +81 -0
- data/app/controllers/my_forum/attachments_controller.rb +30 -0
- data/app/controllers/my_forum/forums_controller.rb +39 -0
- data/app/controllers/my_forum/images_controller.rb +7 -0
- data/app/controllers/my_forum/posts_controller.rb +96 -0
- data/app/controllers/my_forum/private_messages_controller.rb +73 -0
- data/app/controllers/my_forum/topics_controller.rb +96 -0
- data/app/controllers/my_forum/users_controller.rb +145 -0
- data/app/controllers/my_forum/welcome_controller.rb +30 -0
- data/app/helpers/my_forum/admin/dashboard_helper.rb +4 -0
- data/app/helpers/my_forum/admin/forums_helper.rb +4 -0
- data/app/helpers/my_forum/admin/roles_helper.rb +4 -0
- data/app/helpers/my_forum/admin/users_helper.rb +4 -0
- data/app/helpers/my_forum/application_helper.rb +43 -0
- data/app/helpers/my_forum/emoticons_helper.rb +7 -0
- data/app/helpers/my_forum/forums_helper.rb +44 -0
- data/app/helpers/my_forum/posts_helper.rb +76 -0
- data/app/helpers/my_forum/private_messages_helper.rb +25 -0
- data/app/helpers/my_forum/topics_helper.rb +18 -0
- data/app/helpers/my_forum/users_helper.rb +33 -0
- data/app/helpers/my_forum/welcome_helper.rb +4 -0
- data/app/mailers/application_mailer.rb +4 -0
- data/app/mailers/my_forum/user_mailer.rb +31 -0
- data/app/models/my_forum/attachment.rb +12 -0
- data/app/models/my_forum/avatar.rb +11 -0
- data/app/models/my_forum/category.rb +7 -0
- data/app/models/my_forum/category_permission.rb +6 -0
- data/app/models/my_forum/emoticon.rb +6 -0
- data/app/models/my_forum/forum.rb +50 -0
- data/app/models/my_forum/image.rb +5 -0
- data/app/models/my_forum/log_read_mark.rb +4 -0
- data/app/models/my_forum/post.rb +26 -0
- data/app/models/my_forum/private_message.rb +8 -0
- data/app/models/my_forum/role.rb +6 -0
- data/app/models/my_forum/topic.rb +41 -0
- data/app/models/my_forum/user.rb +71 -0
- data/app/models/my_forum/user_group.rb +13 -0
- data/app/models/my_forum/user_group_link.rb +6 -0
- data/app/models/my_forum/user_roles.rb +6 -0
- data/app/views/layouts/mailer.html.erb +5 -0
- data/app/views/layouts/mailer.text.erb +1 -0
- data/app/views/layouts/my_forum/_guest_navbar.html.haml +4 -0
- data/app/views/layouts/my_forum/_user_navbar.html.haml +19 -0
- data/app/views/layouts/my_forum/admin_application.haml +29 -0
- data/app/views/layouts/my_forum/application.haml +23 -0
- data/app/views/my_forum/admin/categories/edit.haml +9 -0
- data/app/views/my_forum/admin/categories/new.haml +5 -0
- data/app/views/my_forum/admin/dashboard/index.haml +0 -0
- data/app/views/my_forum/admin/emoticons/edit.haml +4 -0
- data/app/views/my_forum/admin/emoticons/index.haml +15 -0
- data/app/views/my_forum/admin/emoticons/new.haml +5 -0
- data/app/views/my_forum/admin/forums/index.haml +47 -0
- data/app/views/my_forum/admin/forums/new.haml +6 -0
- data/app/views/my_forum/admin/mail/index.haml +9 -0
- data/app/views/my_forum/admin/roles/index.haml +12 -0
- data/app/views/my_forum/admin/roles/new.haml +22 -0
- data/app/views/my_forum/admin/users/index.haml +10 -0
- data/app/views/my_forum/forums/_topic_subject.html.haml +16 -0
- data/app/views/my_forum/forums/show.haml +29 -0
- data/app/views/my_forum/posts/edit.html.haml +31 -0
- data/app/views/my_forum/private_messages/_sidebar.haml +10 -0
- data/app/views/my_forum/private_messages/inbox.haml +26 -0
- data/app/views/my_forum/private_messages/new.haml +21 -0
- data/app/views/my_forum/private_messages/show.haml +10 -0
- data/app/views/my_forum/shared/_post_preview.haml +15 -0
- data/app/views/my_forum/shared/_upload_photo.haml +45 -0
- data/app/views/my_forum/shared/post_preview.js.coffee +4 -0
- data/app/views/my_forum/topics/_post.haml +29 -0
- data/app/views/my_forum/topics/_profile_popover.haml +47 -0
- data/app/views/my_forum/topics/_quick_answer.haml +34 -0
- data/app/views/my_forum/topics/_topic_header.haml +4 -0
- data/app/views/my_forum/topics/_user_info.haml +9 -0
- data/app/views/my_forum/topics/new.haml +38 -0
- data/app/views/my_forum/topics/show.haml +60 -0
- data/app/views/my_forum/user_mailer/custom_email.text.erb +1 -0
- data/app/views/my_forum/user_mailer/ping_from_post.haml +8 -0
- data/app/views/my_forum/user_mailer/ping_from_post.text.erb +6 -0
- data/app/views/my_forum/user_mailer/pm_notification.text.erb +6 -0
- data/app/views/my_forum/user_mailer/reset_password_email.haml +1 -0
- data/app/views/my_forum/user_mailer/reset_password_email.text.erb +1 -0
- data/app/views/my_forum/users/edit.haml +36 -0
- data/app/views/my_forum/users/forgot_password.haml +10 -0
- data/app/views/my_forum/users/new.haml +14 -0
- data/app/views/my_forum/users/signin.haml +14 -0
- data/app/views/my_forum/users/signout.haml +0 -0
- data/app/views/my_forum/welcome/index.haml +37 -0
- data/config/initializers/will_paginate.rb +24 -0
- data/config/locales/en.yml +68 -0
- data/config/locales/ru.yml +198 -0
- data/config/routes.rb +48 -0
- data/db/migrate/20141117122725_create_my_forum_forums.rb +12 -0
- data/db/migrate/20141117122742_create_my_forum_topics.rb +17 -0
- data/db/migrate/20141117122751_create_my_forum_posts.rb +11 -0
- data/db/migrate/20141118081021_create_my_forum_categories.rb +8 -0
- data/db/migrate/20141118131215_create_my_forum_users.rb +34 -0
- data/db/migrate/20141222094522_create_my_forum_roles.rb +10 -0
- data/db/migrate/20141222094538_create_my_forum_user_roles.rb +9 -0
- data/db/migrate/20150202115250_create_my_forum_log_read_marks.rb +10 -0
- data/db/migrate/20150215200453_create_my_forum_user_groups.rb +15 -0
- data/db/migrate/20150215204852_create_my_forum_user_group_links.rb +9 -0
- data/db/migrate/20150215212443_create_my_forum_category_permissions.rb +9 -0
- data/db/migrate/20150227210814_create_my_forum_private_messages.rb +16 -0
- data/db/migrate/20151012095554_create_my_forum_images.rb +12 -0
- data/db/migrate/20151218135729_add_is_deleted.rb +6 -0
- data/db/migrate/20151220121140_create_my_forum_emoticons.rb +10 -0
- data/db/migrate/20151221203243_my_forum_rename_user_avatar.rb +5 -0
- data/db/migrate/20151221205045_my_forum_change_user_avatar.rb +5 -0
- data/db/migrate/20160122202142_add_latest_post_info_for_topic.rb +24 -0
- data/db/migrate/20160210130805_add_indexes_for_topics.rb +7 -0
- data/db/migrate/20160214085201_add_edited_by_for_post.rb +5 -0
- data/lib/my_forum/engine.rb +31 -0
- data/lib/my_forum/version.rb +1 -1
- data/lib/tasks/my_forum_tasks.rake +155 -4
- data/spec/controllers/my_forum/admin/emoticons_controller_spec.rb +7 -0
- data/spec/controllers/my_forum/admin/mail_controller_spec.rb +7 -0
- data/spec/controllers/my_forum/private_messages_controller_spec.rb +7 -0
- data/spec/controllers/my_forum/users_controller_spec.rb +76 -0
- data/{test → spec}/dummy/README.rdoc +0 -0
- data/{test → spec}/dummy/Rakefile +0 -0
- data/{test → spec}/dummy/app/assets/javascripts/application.js +1 -1
- data/{app/assets/stylesheets/my_forum → spec/dummy/app/assets/stylesheets}/application.css +1 -1
- data/{test → spec}/dummy/app/controllers/application_controller.rb +0 -0
- data/{test → spec}/dummy/app/helpers/application_helper.rb +0 -0
- data/{test → spec}/dummy/app/views/layouts/application.html.erb +0 -0
- data/{test → spec}/dummy/bin/bundle +0 -0
- data/{test → spec}/dummy/bin/rails +0 -0
- data/{test → spec}/dummy/bin/rake +0 -0
- data/{test → spec}/dummy/config/application.rb +0 -0
- data/{test → spec}/dummy/config/boot.rb +0 -0
- data/{test → spec}/dummy/config/database.yml +0 -0
- data/{test → spec}/dummy/config/environment.rb +0 -0
- data/{test → spec}/dummy/config/environments/development.rb +0 -0
- data/{test → spec}/dummy/config/environments/production.rb +1 -1
- data/{test → spec}/dummy/config/environments/test.rb +1 -1
- data/{test → spec}/dummy/config/initializers/assets.rb +0 -0
- data/{test → spec}/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/{test → spec}/dummy/config/initializers/cookies_serializer.rb +0 -0
- data/{test → spec}/dummy/config/initializers/filter_parameter_logging.rb +0 -0
- data/{test → spec}/dummy/config/initializers/inflections.rb +0 -0
- data/{test → spec}/dummy/config/initializers/mime_types.rb +0 -0
- data/{test → spec}/dummy/config/initializers/session_store.rb +0 -0
- data/{test → spec}/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/{test → spec}/dummy/config/locales/en.yml +0 -0
- data/{test → spec}/dummy/config/routes.rb +0 -0
- data/{test → spec}/dummy/config/secrets.yml +0 -0
- data/{test → spec}/dummy/config.ru +0 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +159 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +12 -0
- data/{test → spec}/dummy/public/404.html +0 -0
- data/{test → spec}/dummy/public/422.html +0 -0
- data/{test → spec}/dummy/public/500.html +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/helpers/my_forum/posts_helper_spec.rb +24 -0
- data/spec/helpers/my_forum/private_messages_helper_spec.rb +17 -0
- data/spec/models/my_forum/emoticon_spec.rb +7 -0
- data/spec/models/my_forum/private_message_spec.rb +7 -0
- data/spec/models/my_forum/user_spec.rb +13 -0
- data/spec/rails_helper.rb +52 -0
- data/spec/spec_helper.rb +87 -0
- metadata +356 -83
- data/app/views/layouts/my_forum/application.html.erb +0 -14
- data/test/dummy/app/assets/stylesheets/application.css +0 -15
- data/test/integration/navigation_test.rb +0 -10
- data/test/my_forum_test.rb +0 -7
- data/test/test_helper.rb +0 -15
@@ -0,0 +1,52 @@
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
|
+
ENV['RAILS_ENV'] ||= 'test'
|
3
|
+
require 'spec_helper'
|
4
|
+
#require 'my_forum/engine'
|
5
|
+
#require File.expand_path('../../config/environment', __FILE__)
|
6
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
7
|
+
require 'rspec/rails'
|
8
|
+
# Add additional requires below this line. Rails is not loaded until this point!
|
9
|
+
|
10
|
+
# Requires supporting ruby files with custom matchers and macros, etc, in
|
11
|
+
# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
|
12
|
+
# run as spec files by default. This means that files in spec/support that end
|
13
|
+
# in _spec.rb will both be required and run as specs, causing the specs to be
|
14
|
+
# run twice. It is recommended that you do not name files matching this glob to
|
15
|
+
# end with _spec.rb. You can configure this pattern with the --pattern
|
16
|
+
# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
|
17
|
+
#
|
18
|
+
# The following line is provided for convenience purposes. It has the downside
|
19
|
+
# of increasing the boot-up time by auto-requiring all files in the support
|
20
|
+
# directory. Alternatively, in the individual `*_spec.rb` files, manually
|
21
|
+
# require only the support files necessary.
|
22
|
+
#
|
23
|
+
# Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
|
24
|
+
|
25
|
+
# Checks for pending migrations before tests are run.
|
26
|
+
# If you are not using ActiveRecord, you can remove this line.
|
27
|
+
ActiveRecord::Migration.maintain_test_schema!
|
28
|
+
|
29
|
+
RSpec.configure do |config|
|
30
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
31
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
32
|
+
|
33
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
34
|
+
# examples within a transaction, remove the following line or assign false
|
35
|
+
# instead of true.
|
36
|
+
config.use_transactional_fixtures = true
|
37
|
+
|
38
|
+
# RSpec Rails can automatically mix in different behaviours to your tests
|
39
|
+
# based on their file location, for example enabling you to call `get` and
|
40
|
+
# `post` in specs under `spec/controllers`.
|
41
|
+
#
|
42
|
+
# You can disable this behaviour by removing the line below, and instead
|
43
|
+
# explicitly tag your specs with their type, e.g.:
|
44
|
+
#
|
45
|
+
# RSpec.describe UsersController, :type => :controller do
|
46
|
+
# # ...
|
47
|
+
# end
|
48
|
+
#
|
49
|
+
# The different available types are documented in the features, such as in
|
50
|
+
# https://relishapp.com/rspec/rspec-rails/docs
|
51
|
+
config.infer_spec_type_from_file_location!
|
52
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,87 @@
|
|
1
|
+
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
4
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
5
|
+
# files.
|
6
|
+
#
|
7
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
8
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
9
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
10
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
11
|
+
# a separate helper file that requires the additional dependencies and performs
|
12
|
+
# the additional setup, and require it from the spec files that actually need
|
13
|
+
# it.
|
14
|
+
#
|
15
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
16
|
+
# users commonly want.
|
17
|
+
#
|
18
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
19
|
+
RSpec.configure do |config|
|
20
|
+
# rspec-expectations config goes here. You can use an alternate
|
21
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
22
|
+
# assertions if you prefer.
|
23
|
+
config.expect_with :rspec do |expectations|
|
24
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
25
|
+
# and `failure_message` of custom matchers include text for helper methods
|
26
|
+
# defined using `chain`, e.g.:
|
27
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
28
|
+
# # => "be bigger than 2 and smaller than 4"
|
29
|
+
# ...rather than:
|
30
|
+
# # => "be bigger than 2"
|
31
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
32
|
+
end
|
33
|
+
|
34
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
35
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
36
|
+
config.mock_with :rspec do |mocks|
|
37
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
38
|
+
# a real object. This is generally recommended, and will default to
|
39
|
+
# `true` in RSpec 4.
|
40
|
+
mocks.verify_partial_doubles = true
|
41
|
+
end
|
42
|
+
|
43
|
+
# The settings below are suggested to provide a good initial experience
|
44
|
+
# with RSpec, but feel free to customize to your heart's content.
|
45
|
+
=begin
|
46
|
+
# These two settings work together to allow you to limit a spec run
|
47
|
+
# to individual examples or groups you care about by tagging them with
|
48
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
49
|
+
# get run.
|
50
|
+
config.filter_run :focus
|
51
|
+
config.run_all_when_everything_filtered = true
|
52
|
+
|
53
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
54
|
+
# recommended. For more details, see:
|
55
|
+
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
56
|
+
# - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
57
|
+
# - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
|
58
|
+
config.disable_monkey_patching!
|
59
|
+
|
60
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
61
|
+
# file, and it's useful to allow more verbose output when running an
|
62
|
+
# individual spec file.
|
63
|
+
if config.files_to_run.one?
|
64
|
+
# Use the documentation formatter for detailed output,
|
65
|
+
# unless a formatter has already been configured
|
66
|
+
# (e.g. via a command-line flag).
|
67
|
+
config.default_formatter = 'doc'
|
68
|
+
end
|
69
|
+
|
70
|
+
# Print the 10 slowest examples and example groups at the
|
71
|
+
# end of the spec run, to help surface which specs are running
|
72
|
+
# particularly slow.
|
73
|
+
config.profile_examples = 10
|
74
|
+
|
75
|
+
# Run specs in random order to surface order dependencies. If you find an
|
76
|
+
# order dependency and want to debug it, you can fix the order by providing
|
77
|
+
# the seed, which is printed after each run.
|
78
|
+
# --seed 1234
|
79
|
+
config.order = :random
|
80
|
+
|
81
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
82
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
83
|
+
# test failures related to randomization by passing the same `--seed` value
|
84
|
+
# as the one that triggered the failure.
|
85
|
+
Kernel.srand config.seed
|
86
|
+
=end
|
87
|
+
end
|
metadata
CHANGED
@@ -1,29 +1,141 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: my_forum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vitaly Omelchenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.
|
19
|
+
version: 4.2.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.
|
26
|
+
version: 4.2.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: haml
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: coffee-rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: sass-rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bootstrap-sass
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: jquery-rails
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: will_paginate
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 3.0.6
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 3.0.6
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: font-awesome-sass
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: sqlite3
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
27
139
|
description: Simple forum engine.
|
28
140
|
email:
|
29
141
|
- prosto.vint@gmail.com
|
@@ -34,52 +146,201 @@ files:
|
|
34
146
|
- MIT-LICENSE
|
35
147
|
- README.rdoc
|
36
148
|
- Rakefile
|
149
|
+
- app/assets/javascripts/my_forum/admin/categories.js.coffee
|
150
|
+
- app/assets/javascripts/my_forum/admin/dashboard.js.coffee
|
151
|
+
- app/assets/javascripts/my_forum/admin/forums.js.coffee
|
152
|
+
- app/assets/javascripts/my_forum/admin/roles.js
|
153
|
+
- app/assets/javascripts/my_forum/admin/users.js
|
37
154
|
- app/assets/javascripts/my_forum/application.js
|
38
|
-
- app/assets/
|
155
|
+
- app/assets/javascripts/my_forum/forums.js.coffee
|
156
|
+
- app/assets/javascripts/my_forum/jquery.scrollTo.min.js
|
157
|
+
- app/assets/javascripts/my_forum/jquery.selection.js
|
158
|
+
- app/assets/javascripts/my_forum/my_forum.js.coffee
|
159
|
+
- app/assets/javascripts/my_forum/posts.js.coffee
|
160
|
+
- app/assets/javascripts/my_forum/topics.js.coffee
|
161
|
+
- app/assets/javascripts/my_forum/users.js.coffee
|
162
|
+
- app/assets/javascripts/my_forum/welcome.js.coffee
|
163
|
+
- app/assets/stylesheets/my_forum/admin/categories.css.scss
|
164
|
+
- app/assets/stylesheets/my_forum/admin/dashboard.css.scss
|
165
|
+
- app/assets/stylesheets/my_forum/admin/forums.css.scss
|
166
|
+
- app/assets/stylesheets/my_forum/admin/roles.css
|
167
|
+
- app/assets/stylesheets/my_forum/admin/users.css
|
168
|
+
- app/assets/stylesheets/my_forum/application.css.scss
|
169
|
+
- app/assets/stylesheets/my_forum/forums.css.scss
|
170
|
+
- app/assets/stylesheets/my_forum/posts.css.scss
|
171
|
+
- app/assets/stylesheets/my_forum/private_messages.css.scss
|
172
|
+
- app/assets/stylesheets/my_forum/topics.css.scss
|
173
|
+
- app/assets/stylesheets/my_forum/users.css.scss
|
174
|
+
- app/assets/stylesheets/my_forum/welcome.css.scss
|
175
|
+
- app/controllers/my_forum/admin/categories_controller.rb
|
176
|
+
- app/controllers/my_forum/admin/dashboard_controller.rb
|
177
|
+
- app/controllers/my_forum/admin/emoticons_controller.rb
|
178
|
+
- app/controllers/my_forum/admin/forums_controller.rb
|
179
|
+
- app/controllers/my_forum/admin/mail_controller.rb
|
180
|
+
- app/controllers/my_forum/admin/roles_controller.rb
|
181
|
+
- app/controllers/my_forum/admin/users_controller.rb
|
39
182
|
- app/controllers/my_forum/application_controller.rb
|
183
|
+
- app/controllers/my_forum/attachments_controller.rb
|
184
|
+
- app/controllers/my_forum/forums_controller.rb
|
185
|
+
- app/controllers/my_forum/images_controller.rb
|
186
|
+
- app/controllers/my_forum/posts_controller.rb
|
187
|
+
- app/controllers/my_forum/private_messages_controller.rb
|
188
|
+
- app/controllers/my_forum/topics_controller.rb
|
189
|
+
- app/controllers/my_forum/users_controller.rb
|
190
|
+
- app/controllers/my_forum/welcome_controller.rb
|
191
|
+
- app/helpers/my_forum/admin/dashboard_helper.rb
|
192
|
+
- app/helpers/my_forum/admin/forums_helper.rb
|
193
|
+
- app/helpers/my_forum/admin/roles_helper.rb
|
194
|
+
- app/helpers/my_forum/admin/users_helper.rb
|
40
195
|
- app/helpers/my_forum/application_helper.rb
|
41
|
-
- app/
|
196
|
+
- app/helpers/my_forum/emoticons_helper.rb
|
197
|
+
- app/helpers/my_forum/forums_helper.rb
|
198
|
+
- app/helpers/my_forum/posts_helper.rb
|
199
|
+
- app/helpers/my_forum/private_messages_helper.rb
|
200
|
+
- app/helpers/my_forum/topics_helper.rb
|
201
|
+
- app/helpers/my_forum/users_helper.rb
|
202
|
+
- app/helpers/my_forum/welcome_helper.rb
|
203
|
+
- app/mailers/application_mailer.rb
|
204
|
+
- app/mailers/my_forum/user_mailer.rb
|
205
|
+
- app/models/my_forum/attachment.rb
|
206
|
+
- app/models/my_forum/avatar.rb
|
207
|
+
- app/models/my_forum/category.rb
|
208
|
+
- app/models/my_forum/category_permission.rb
|
209
|
+
- app/models/my_forum/emoticon.rb
|
210
|
+
- app/models/my_forum/forum.rb
|
211
|
+
- app/models/my_forum/image.rb
|
212
|
+
- app/models/my_forum/log_read_mark.rb
|
213
|
+
- app/models/my_forum/post.rb
|
214
|
+
- app/models/my_forum/private_message.rb
|
215
|
+
- app/models/my_forum/role.rb
|
216
|
+
- app/models/my_forum/topic.rb
|
217
|
+
- app/models/my_forum/user.rb
|
218
|
+
- app/models/my_forum/user_group.rb
|
219
|
+
- app/models/my_forum/user_group_link.rb
|
220
|
+
- app/models/my_forum/user_roles.rb
|
221
|
+
- app/views/layouts/mailer.html.erb
|
222
|
+
- app/views/layouts/mailer.text.erb
|
223
|
+
- app/views/layouts/my_forum/_guest_navbar.html.haml
|
224
|
+
- app/views/layouts/my_forum/_user_navbar.html.haml
|
225
|
+
- app/views/layouts/my_forum/admin_application.haml
|
226
|
+
- app/views/layouts/my_forum/application.haml
|
227
|
+
- app/views/my_forum/admin/categories/edit.haml
|
228
|
+
- app/views/my_forum/admin/categories/new.haml
|
229
|
+
- app/views/my_forum/admin/dashboard/index.haml
|
230
|
+
- app/views/my_forum/admin/emoticons/edit.haml
|
231
|
+
- app/views/my_forum/admin/emoticons/index.haml
|
232
|
+
- app/views/my_forum/admin/emoticons/new.haml
|
233
|
+
- app/views/my_forum/admin/forums/index.haml
|
234
|
+
- app/views/my_forum/admin/forums/new.haml
|
235
|
+
- app/views/my_forum/admin/mail/index.haml
|
236
|
+
- app/views/my_forum/admin/roles/index.haml
|
237
|
+
- app/views/my_forum/admin/roles/new.haml
|
238
|
+
- app/views/my_forum/admin/users/index.haml
|
239
|
+
- app/views/my_forum/forums/_topic_subject.html.haml
|
240
|
+
- app/views/my_forum/forums/show.haml
|
241
|
+
- app/views/my_forum/posts/edit.html.haml
|
242
|
+
- app/views/my_forum/private_messages/_sidebar.haml
|
243
|
+
- app/views/my_forum/private_messages/inbox.haml
|
244
|
+
- app/views/my_forum/private_messages/new.haml
|
245
|
+
- app/views/my_forum/private_messages/show.haml
|
246
|
+
- app/views/my_forum/shared/_post_preview.haml
|
247
|
+
- app/views/my_forum/shared/_upload_photo.haml
|
248
|
+
- app/views/my_forum/shared/post_preview.js.coffee
|
249
|
+
- app/views/my_forum/topics/_post.haml
|
250
|
+
- app/views/my_forum/topics/_profile_popover.haml
|
251
|
+
- app/views/my_forum/topics/_quick_answer.haml
|
252
|
+
- app/views/my_forum/topics/_topic_header.haml
|
253
|
+
- app/views/my_forum/topics/_user_info.haml
|
254
|
+
- app/views/my_forum/topics/new.haml
|
255
|
+
- app/views/my_forum/topics/show.haml
|
256
|
+
- app/views/my_forum/user_mailer/custom_email.text.erb
|
257
|
+
- app/views/my_forum/user_mailer/ping_from_post.haml
|
258
|
+
- app/views/my_forum/user_mailer/ping_from_post.text.erb
|
259
|
+
- app/views/my_forum/user_mailer/pm_notification.text.erb
|
260
|
+
- app/views/my_forum/user_mailer/reset_password_email.haml
|
261
|
+
- app/views/my_forum/user_mailer/reset_password_email.text.erb
|
262
|
+
- app/views/my_forum/users/edit.haml
|
263
|
+
- app/views/my_forum/users/forgot_password.haml
|
264
|
+
- app/views/my_forum/users/new.haml
|
265
|
+
- app/views/my_forum/users/signin.haml
|
266
|
+
- app/views/my_forum/users/signout.haml
|
267
|
+
- app/views/my_forum/welcome/index.haml
|
268
|
+
- config/initializers/will_paginate.rb
|
269
|
+
- config/locales/en.yml
|
270
|
+
- config/locales/ru.yml
|
42
271
|
- config/routes.rb
|
272
|
+
- db/migrate/20141117122725_create_my_forum_forums.rb
|
273
|
+
- db/migrate/20141117122742_create_my_forum_topics.rb
|
274
|
+
- db/migrate/20141117122751_create_my_forum_posts.rb
|
275
|
+
- db/migrate/20141118081021_create_my_forum_categories.rb
|
276
|
+
- db/migrate/20141118131215_create_my_forum_users.rb
|
277
|
+
- db/migrate/20141222094522_create_my_forum_roles.rb
|
278
|
+
- db/migrate/20141222094538_create_my_forum_user_roles.rb
|
279
|
+
- db/migrate/20150202115250_create_my_forum_log_read_marks.rb
|
280
|
+
- db/migrate/20150215200453_create_my_forum_user_groups.rb
|
281
|
+
- db/migrate/20150215204852_create_my_forum_user_group_links.rb
|
282
|
+
- db/migrate/20150215212443_create_my_forum_category_permissions.rb
|
283
|
+
- db/migrate/20150227210814_create_my_forum_private_messages.rb
|
284
|
+
- db/migrate/20151012095554_create_my_forum_images.rb
|
285
|
+
- db/migrate/20151218135729_add_is_deleted.rb
|
286
|
+
- db/migrate/20151220121140_create_my_forum_emoticons.rb
|
287
|
+
- db/migrate/20151221203243_my_forum_rename_user_avatar.rb
|
288
|
+
- db/migrate/20151221205045_my_forum_change_user_avatar.rb
|
289
|
+
- db/migrate/20160122202142_add_latest_post_info_for_topic.rb
|
290
|
+
- db/migrate/20160210130805_add_indexes_for_topics.rb
|
291
|
+
- db/migrate/20160214085201_add_edited_by_for_post.rb
|
43
292
|
- lib/my_forum.rb
|
44
293
|
- lib/my_forum/engine.rb
|
45
294
|
- lib/my_forum/version.rb
|
46
295
|
- lib/tasks/my_forum_tasks.rake
|
47
|
-
-
|
48
|
-
-
|
49
|
-
-
|
50
|
-
-
|
51
|
-
-
|
52
|
-
-
|
53
|
-
-
|
54
|
-
-
|
55
|
-
-
|
56
|
-
-
|
57
|
-
-
|
58
|
-
-
|
59
|
-
-
|
60
|
-
-
|
61
|
-
-
|
62
|
-
-
|
63
|
-
-
|
64
|
-
-
|
65
|
-
-
|
66
|
-
-
|
67
|
-
-
|
68
|
-
-
|
69
|
-
-
|
70
|
-
-
|
71
|
-
-
|
72
|
-
-
|
73
|
-
-
|
74
|
-
-
|
75
|
-
-
|
76
|
-
-
|
77
|
-
-
|
78
|
-
-
|
79
|
-
-
|
80
|
-
-
|
81
|
-
-
|
82
|
-
- test
|
296
|
+
- spec/controllers/my_forum/admin/emoticons_controller_spec.rb
|
297
|
+
- spec/controllers/my_forum/admin/mail_controller_spec.rb
|
298
|
+
- spec/controllers/my_forum/private_messages_controller_spec.rb
|
299
|
+
- spec/controllers/my_forum/users_controller_spec.rb
|
300
|
+
- spec/dummy/README.rdoc
|
301
|
+
- spec/dummy/Rakefile
|
302
|
+
- spec/dummy/app/assets/javascripts/application.js
|
303
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
304
|
+
- spec/dummy/app/controllers/application_controller.rb
|
305
|
+
- spec/dummy/app/helpers/application_helper.rb
|
306
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
307
|
+
- spec/dummy/bin/bundle
|
308
|
+
- spec/dummy/bin/rails
|
309
|
+
- spec/dummy/bin/rake
|
310
|
+
- spec/dummy/config.ru
|
311
|
+
- spec/dummy/config/application.rb
|
312
|
+
- spec/dummy/config/boot.rb
|
313
|
+
- spec/dummy/config/database.yml
|
314
|
+
- spec/dummy/config/environment.rb
|
315
|
+
- spec/dummy/config/environments/development.rb
|
316
|
+
- spec/dummy/config/environments/production.rb
|
317
|
+
- spec/dummy/config/environments/test.rb
|
318
|
+
- spec/dummy/config/initializers/assets.rb
|
319
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
320
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
321
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
322
|
+
- spec/dummy/config/initializers/inflections.rb
|
323
|
+
- spec/dummy/config/initializers/mime_types.rb
|
324
|
+
- spec/dummy/config/initializers/session_store.rb
|
325
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
326
|
+
- spec/dummy/config/locales/en.yml
|
327
|
+
- spec/dummy/config/routes.rb
|
328
|
+
- spec/dummy/config/secrets.yml
|
329
|
+
- spec/dummy/db/development.sqlite3
|
330
|
+
- spec/dummy/db/schema.rb
|
331
|
+
- spec/dummy/db/test.sqlite3
|
332
|
+
- spec/dummy/log/development.log
|
333
|
+
- spec/dummy/public/404.html
|
334
|
+
- spec/dummy/public/422.html
|
335
|
+
- spec/dummy/public/500.html
|
336
|
+
- spec/dummy/public/favicon.ico
|
337
|
+
- spec/helpers/my_forum/posts_helper_spec.rb
|
338
|
+
- spec/helpers/my_forum/private_messages_helper_spec.rb
|
339
|
+
- spec/models/my_forum/emoticon_spec.rb
|
340
|
+
- spec/models/my_forum/private_message_spec.rb
|
341
|
+
- spec/models/my_forum/user_spec.rb
|
342
|
+
- spec/rails_helper.rb
|
343
|
+
- spec/spec_helper.rb
|
83
344
|
homepage: https://github.com/vintyara/my_forum
|
84
345
|
licenses:
|
85
346
|
- MIT
|
@@ -90,54 +351,66 @@ require_paths:
|
|
90
351
|
- lib
|
91
352
|
required_ruby_version: !ruby/object:Gem::Requirement
|
92
353
|
requirements:
|
93
|
-
- -
|
354
|
+
- - ">="
|
94
355
|
- !ruby/object:Gem::Version
|
95
356
|
version: '0'
|
96
357
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
358
|
requirements:
|
98
|
-
- -
|
359
|
+
- - ">="
|
99
360
|
- !ruby/object:Gem::Version
|
100
361
|
version: '0'
|
101
362
|
requirements: []
|
102
363
|
rubyforge_project:
|
103
|
-
rubygems_version: 2.
|
364
|
+
rubygems_version: 2.4.6
|
104
365
|
signing_key:
|
105
366
|
specification_version: 4
|
106
367
|
summary: Simple Forum
|
107
368
|
test_files:
|
108
|
-
-
|
109
|
-
-
|
110
|
-
-
|
111
|
-
-
|
112
|
-
-
|
113
|
-
-
|
114
|
-
-
|
115
|
-
-
|
116
|
-
-
|
117
|
-
-
|
118
|
-
-
|
119
|
-
-
|
120
|
-
-
|
121
|
-
-
|
122
|
-
-
|
123
|
-
-
|
124
|
-
-
|
125
|
-
-
|
126
|
-
-
|
127
|
-
-
|
128
|
-
-
|
129
|
-
-
|
130
|
-
-
|
131
|
-
-
|
132
|
-
-
|
133
|
-
-
|
134
|
-
-
|
135
|
-
-
|
136
|
-
-
|
137
|
-
-
|
138
|
-
-
|
139
|
-
-
|
140
|
-
-
|
141
|
-
-
|
142
|
-
-
|
143
|
-
-
|
369
|
+
- spec/controllers/my_forum/admin/emoticons_controller_spec.rb
|
370
|
+
- spec/controllers/my_forum/admin/mail_controller_spec.rb
|
371
|
+
- spec/controllers/my_forum/private_messages_controller_spec.rb
|
372
|
+
- spec/controllers/my_forum/users_controller_spec.rb
|
373
|
+
- spec/dummy/app/assets/javascripts/application.js
|
374
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
375
|
+
- spec/dummy/app/controllers/application_controller.rb
|
376
|
+
- spec/dummy/app/helpers/application_helper.rb
|
377
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
378
|
+
- spec/dummy/bin/bundle
|
379
|
+
- spec/dummy/bin/rails
|
380
|
+
- spec/dummy/bin/rake
|
381
|
+
- spec/dummy/config/application.rb
|
382
|
+
- spec/dummy/config/boot.rb
|
383
|
+
- spec/dummy/config/database.yml
|
384
|
+
- spec/dummy/config/environment.rb
|
385
|
+
- spec/dummy/config/environments/development.rb
|
386
|
+
- spec/dummy/config/environments/production.rb
|
387
|
+
- spec/dummy/config/environments/test.rb
|
388
|
+
- spec/dummy/config/initializers/assets.rb
|
389
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
390
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
391
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
392
|
+
- spec/dummy/config/initializers/inflections.rb
|
393
|
+
- spec/dummy/config/initializers/mime_types.rb
|
394
|
+
- spec/dummy/config/initializers/session_store.rb
|
395
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
396
|
+
- spec/dummy/config/locales/en.yml
|
397
|
+
- spec/dummy/config/routes.rb
|
398
|
+
- spec/dummy/config/secrets.yml
|
399
|
+
- spec/dummy/config.ru
|
400
|
+
- spec/dummy/db/development.sqlite3
|
401
|
+
- spec/dummy/db/schema.rb
|
402
|
+
- spec/dummy/db/test.sqlite3
|
403
|
+
- spec/dummy/log/development.log
|
404
|
+
- spec/dummy/public/404.html
|
405
|
+
- spec/dummy/public/422.html
|
406
|
+
- spec/dummy/public/500.html
|
407
|
+
- spec/dummy/public/favicon.ico
|
408
|
+
- spec/dummy/Rakefile
|
409
|
+
- spec/dummy/README.rdoc
|
410
|
+
- spec/helpers/my_forum/posts_helper_spec.rb
|
411
|
+
- spec/helpers/my_forum/private_messages_helper_spec.rb
|
412
|
+
- spec/models/my_forum/emoticon_spec.rb
|
413
|
+
- spec/models/my_forum/private_message_spec.rb
|
414
|
+
- spec/models/my_forum/user_spec.rb
|
415
|
+
- spec/rails_helper.rb
|
416
|
+
- spec/spec_helper.rb
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>MyForum</title>
|
5
|
-
<%= stylesheet_link_tag "my_forum/application", media: "all" %>
|
6
|
-
<%= javascript_include_tag "my_forum/application" %>
|
7
|
-
<%= csrf_meta_tags %>
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
<%= yield %>
|
12
|
-
|
13
|
-
</body>
|
14
|
-
</html>
|