activa 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +30 -0
- data/app/assets/images/activa/icons/glyphicons_000_glass.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_001_leaf.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_002_dog.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_003_user.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_004_girl.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_005_car.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_006_user_add.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_007_user_remove.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_008_film.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_009_magic.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_010_envelope.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_011_camera.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_012_heart.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_013_beach_umbrella.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_014_train.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_015_print.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_016_bin.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_017_music.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_018_note.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_019_cogwheel.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_020_home.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_021_snowflake.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_022_fire.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_023_cogwheels.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_024_parents.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_025_binoculars.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_026_road.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_027_search.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_028_cars.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_029_notes_2.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_030_pencil.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_031_bus.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_032_wifi_alt.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_033_luggage.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_034_old_man.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_035_woman.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_036_file.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_037_credit.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_038_airplane.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_039_notes.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_040_stats.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_041_charts.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_042_pie_chart.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_043_group.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_044_keys.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_045_calendar.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_046_router.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_047_camera_small.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_048_dislikes.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_049_star.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_051_eye_open.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_052_eye_close.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_053_alarm.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_054_clock.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_055_stopwatch.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_056_projector.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_057_history.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_058_truck.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_059_cargo.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_060_compass.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_061_keynote.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_062_attach.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_063_power.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_064_lightbulb.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_065_tag.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_066_tags.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_067_cleaning.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_068_ruller.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_069_gift.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_070_umbrella.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_071_book.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_072_bookmark.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_073_signal.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_074_cup.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_075_stroller.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_076_headphones.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_077_headset.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_078_warning_sign.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_079_signal.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_080_retweet.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_081_refresh.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_082_roundabout.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_083_random.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_084_heat.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_085_repeat.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_086_display.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_087_log_book.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_088_adress_book.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_089_magnet.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_090_table.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_091_adjust.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_092_tint.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_093_crop.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_094_vector_path_square.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_095_vector_path_circle.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_096_vector_path_polygon.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_097_vector_path_line.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_098_vector_path_curve.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_099_vector_path_all.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_100_font.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_101_italic.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_102_bold.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_103_text_underline.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_104_text_strike.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_105_text_height.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_106_text_width.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_107_text_resize.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_108_left_indent.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_109_right_indent.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_110_align_left.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_111_align_center.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_112_align_right.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_113_justify.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_114_list.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_115_text_smaller.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_116_text_bigger.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_117_embed.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_118_embed_close.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_119_adjust.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_120_message_full.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_121_message_empty.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_122_message_in.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_123_message_out.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_124_message_plus.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_125_message_minus.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_126_message_ban.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_127_message_flag.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_128_message_lock.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_129_message_new.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_130_inbox.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_131_inbox_plus.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_132_inbox_minus.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_133_inbox_lock.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_134_inbox_in.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_135_inbox_out.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_136_computer_locked.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_137_computer_service.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_138_computer_proces.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_139_phone.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_140_database_lock.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_141_database_plus.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_142_database_minus.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_143_database_ban.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_144_folder_open.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_145_folder_plus.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_146_folder_minus.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_147_folder_lock.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_148_folder_flag.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_149_folder_new.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_150_check.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_151_edit.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_152_new_window.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_153_more_windows.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_154_show_big_thumbnails.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_155_show_thumbnails.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_156_show_thumbnails_with_lines.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_157_show_lines.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_158_playlist.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_159_picture.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_160_imac.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_161_macbook.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_162_ipad.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_163_iphone.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_164_iphone_transfer.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_165_iphone_exchange.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_166_ipod.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_167_ipod_shuffle.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_168_ear_plugs.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_169_albums.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_170_step_backward.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_171_fast_backward.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_172_rewind.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_173_play.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_174_pause.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_175_stop.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_176_forward.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_177_fast_forward.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_178_step_forward.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_179_eject.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_180_facetime_video.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_181_download_alt.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_182_mute.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_183_volume_down.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_184_volume_up.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_185_screenshot.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_186_move.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_187_more.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_188_brightness_reduce.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_189_brightness_increase.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_190_circle_plus.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_191_circle_minus.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_192_circle_remove.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_193_circle_ok.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_194_circle_question_mark.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_195_circle_info.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_196_circle_exclamation_mark.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_197_remove.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_198_ok.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_199_ban.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_200_download.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_201_upload.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_202_shopping_cart.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_203_lock.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_204_unlock.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_205_electricity.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_206_ok_2.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_207_remove_2.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_208_cart_out.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_209_cart_in.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_210_left_arrow.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_211_right_arrow.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_212_down_arrow.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_213_up_arrow.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_214_resize_small.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_215_resize_full.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_216_circle_arrow_left.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_217_circle_arrow_right.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_218_circle_arrow_top.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_219_circle_arrow_down.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_220_play_button.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_221_unshare.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_222_share.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_223_thin_right_arrow.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_224_thin_arrow_left.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_225_bluetooth.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_226_euro.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_227_usd.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_228_bp.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_229_retweet_2.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_230_moon.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_231_sun.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_232_cloud.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_233_direction.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_234_brush.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_235_pen.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_236_zoom_in.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_237_zoom_out.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_238_pin.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_239_riflescope.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_240_rotation_lock.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_241_flash.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_242_google_maps.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_243_anchor.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_244_conversation.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_245_chat.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_246_male.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_247_female.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_248_asterisk.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_249_divide.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_250_snorkel_diving.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_251_scuba_diving.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_252_oxygen_bottle.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_253_fins.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_254_fishes.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_255_boat.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_256_delete_point.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_257_sheriffs_-star.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_258_qrcode.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_259_barcode.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_260_pool.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_261_buoy.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_262_spade.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_263_bank.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_264_vcard.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_265_electrical_plug.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_266_flag.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_267_credit_card.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_268_keyboard_wireless.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_269_keyboard_wired.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_270_shield.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_271_ring.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_272_cake.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_273_drink.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_274_beer.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_275_fast_food.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_276_cutlery.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_277_pizza.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_278_birthday_cake.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_279_tablet.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_280_settings.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_281_bullets.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_282_cardio.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_283_t-shirt.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_284_pants.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_285_sweater.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_286_fabric.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_287_leather.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_288_scissors.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_289_podium.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_290_skull.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_291_celebration.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_292_tea_kettle.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_293_french_press.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_294_coffe_cup.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_295_pot.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_296_grater.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_297_kettle.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_298_hospital.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_299_hospital_h.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_300_microphone.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_301_webcam.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_302_temple_christianity_church.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_303_temple_islam.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_304_temple_hindu.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_305_temple_buddhist.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_306_electrical_socket_eu.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_307_electrical_socket_us.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_308_bomb.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_309_comments.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_310_flower.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_311_baseball.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_312_rugby.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_313_ax.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_314_table_tennis.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_315_bowling.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_316_tree_conifer.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_317_tree_deciduous.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_318_more-items.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_319_sort.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_320_filter.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_321_gamepad.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_322_playing_dices.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_323_calculator.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_324_tie.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_325_wallet.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_326_share.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_327_sampler.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_328_piano.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_329_web_browser.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_330_blog.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_331_dashboard.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_332_certificate.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_333_bell.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_334_candle.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_335_pin_classic.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_336_iphone_shake.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_337_pin_flag.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_338_turtle.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_339_rabbit.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_340_globe.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_341_briefcase.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_342_hdd.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_343_thumbs_up.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_344_thumbs_down.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_345_hand_right.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_346_hand_left.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_347_hand_up.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_348_hand_down.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_349_fullscreen.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_350_shopping_bag.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_351_book_open.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_352_nameplate.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_353_nameplate_alt.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_354_vases.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_355_announcement.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_356_dumbbell.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_357_suitcase.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_358_file_import.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_359_file_export.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_360_pinterest.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_361_dropbox.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_362_google+_alt.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_363_jolicloud.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_364_yahoo.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_365_blogger.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_366_picasa.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_367_amazon.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_368_tumblr.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_369_wordpress.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_370_instapaper.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_371_evernote.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_372_xing.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_373_zootool.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_374_dribbble.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_375_deviantart.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_376_read_it_later.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_377_linked_in.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_378_forrst.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_379_pinboard.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_380_behance.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_381_github.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_382_youtube.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_383_skitch.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_384_4square.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_385_quora.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_386_google_plus.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_387_spootify.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_388_stumbleupon.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_389_readability.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_390_facebook.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_391_twitter_t.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_392_twitter.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_393_buzz.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_394_vimeo.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_395_flickr.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_396_last_fm.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_397_rss.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_398_skype.png +0 -0
- data/app/assets/images/activa/icons/glyphicons_399_e-mail.png +0 -0
- data/app/assets/images/activa/icons/link.png +0 -0
- data/app/assets/images/bg.jpg +0 -0
- data/app/assets/images/input-bg.gif +0 -0
- data/app/assets/images/rails.png +0 -0
- data/app/assets/javascripts/activa/activa.js.coffee +42 -0
- data/app/assets/stylesheets/activa/activa.css.scss +64 -0
- data/app/controllers/activa/application_controller.rb +27 -0
- data/app/controllers/activa/pages_controller.rb +94 -0
- data/app/helpers/activa/application_helper.rb +4 -0
- data/app/helpers/activa/pages_helper.rb +38 -0
- data/app/inputs/editor_input.rb +10 -0
- data/app/inputs/pages_tree_input.rb +5 -0
- data/app/inputs/slug_input.rb +10 -0
- data/app/models/activa/ability.rb +27 -0
- data/app/models/activa/page.rb +139 -0
- data/app/views/activa/pages/_form.html.erb +37 -0
- data/app/views/activa/pages/_page.html.erb +9 -0
- data/app/views/activa/pages/edit.html.erb +7 -0
- data/app/views/activa/pages/index.html.erb +12 -0
- data/app/views/activa/pages/new.html.erb +3 -0
- data/app/views/activa/pages/partials/_neighbours.html.erb +11 -0
- data/app/views/activa/pages/partials/menu/_index.html.erb +3 -0
- data/app/views/activa/pages/partials/menu/_show.html.erb +7 -0
- data/app/views/activa/pages/show.html.erb +6 -0
- data/config/initializers/simple_form.rb +136 -0
- data/config/locales/en.yml +65 -0
- data/config/locales/ru.yml +65 -0
- data/config/routes.rb +16 -0
- data/db/migrate/20110520121037_create_activa_pages.rb +24 -0
- data/lib/activa.rb +26 -0
- data/lib/activa/default_permissions.rb +33 -0
- data/lib/activa/engine.rb +19 -0
- data/lib/activa/version.rb +3 -0
- data/lib/generators/activa/install/templates/initializer.rb +1 -0
- data/lib/generators/activa/install_generator.rb +109 -0
- data/lib/generators/activa/views_generator.rb +22 -0
- data/lib/tasks/activa_tasks.rake +4 -0
- metadata +617 -0
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,42 @@
|
|
1
|
+
window.Activa = class Activa
|
2
|
+
@slug_was_edited = false
|
3
|
+
|
4
|
+
constructor: (@options) ->
|
5
|
+
@original_slug = @options.slug_input.val()
|
6
|
+
|
7
|
+
@options.toggle_btn.click (e) => @toggle(e)
|
8
|
+
@options.done_btn.click (e) => @done(e)
|
9
|
+
@options.cancel_btn.click (e) => @cancel(e)
|
10
|
+
@options.title_input.blur (e) => @update(e)
|
11
|
+
@options.slug_input.keyup (e) =>
|
12
|
+
@slug_was_edited = true if @options.slug_input.val().length > 0
|
13
|
+
|
14
|
+
# Update slug field
|
15
|
+
update: (e) ->
|
16
|
+
return if @slug_was_edited
|
17
|
+
|
18
|
+
params =
|
19
|
+
title: @options.title_input.val()
|
20
|
+
|
21
|
+
$.post(@options.update_uri, params, (data) =>
|
22
|
+
@options.slug_input.val(data.slug)
|
23
|
+
)
|
24
|
+
|
25
|
+
|
26
|
+
# Toggle slug control
|
27
|
+
toggle: (e) ->
|
28
|
+
e.preventDefault()
|
29
|
+
@options.toggle_wrapper.toggleClass('hidden')
|
30
|
+
@options.slug_input.focus()
|
31
|
+
|
32
|
+
|
33
|
+
# Apply slug
|
34
|
+
done: (e) ->
|
35
|
+
@toggle(e)
|
36
|
+
|
37
|
+
|
38
|
+
# Cancel slug
|
39
|
+
cancel: (e) ->
|
40
|
+
@options.slug_input.val(@original_slug)
|
41
|
+
@slug_was_edited = false
|
42
|
+
@toggle(e)
|
@@ -0,0 +1,64 @@
|
|
1
|
+
@import "compass/css3/border-radius";
|
2
|
+
@import "compass/css3/box-shadow";
|
3
|
+
@import "compass/css3/text-shadow";
|
4
|
+
@import "compass/css3/opacity";
|
5
|
+
@import "compass/css3/images";
|
6
|
+
@import "compass/css3/inline-block";
|
7
|
+
@import "compass/css3/box-sizing";
|
8
|
+
@import "compass/css3/gradient";
|
9
|
+
|
10
|
+
form.activa-page {
|
11
|
+
#activa-title-wrapper {
|
12
|
+
position: relative;
|
13
|
+
|
14
|
+
input {
|
15
|
+
padding-right: 30px;
|
16
|
+
}
|
17
|
+
|
18
|
+
// Slug toggler
|
19
|
+
a {
|
20
|
+
position: absolute;
|
21
|
+
right: 7px;
|
22
|
+
top: 31px;
|
23
|
+
display: block;
|
24
|
+
width: 21px;
|
25
|
+
height: 23px;
|
26
|
+
background: asset-url("activa/icons/link.png", image) no-repeat 50% 50%;
|
27
|
+
outline: none;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
div.slug {
|
32
|
+
background: #dedede;
|
33
|
+
padding: 7px;
|
34
|
+
margin: 0 0 7px 0;
|
35
|
+
@include border-radius(4px);
|
36
|
+
|
37
|
+
#page_slug {
|
38
|
+
padding: 2px;
|
39
|
+
margin: 0;
|
40
|
+
font-weight: normal;
|
41
|
+
font-size: 100%;
|
42
|
+
@include inline-block;
|
43
|
+
width: 300px;
|
44
|
+
}
|
45
|
+
|
46
|
+
button {
|
47
|
+
padding: 3px 20px;
|
48
|
+
}
|
49
|
+
|
50
|
+
span.root-url {
|
51
|
+
@include inline-block;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
#page_article { height: 400px; }
|
56
|
+
|
57
|
+
div.actions {
|
58
|
+
overflow: hidden;
|
59
|
+
|
60
|
+
#commit-button {
|
61
|
+
float: right;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'cancan'
|
2
|
+
|
3
|
+
class Activa::ApplicationController < ApplicationController
|
4
|
+
rescue_from CanCan::AccessDenied do
|
5
|
+
redirect_to root_path, :alert => t('activa.access_denied')
|
6
|
+
end
|
7
|
+
|
8
|
+
helper_method :activa_admin?
|
9
|
+
|
10
|
+
def current_ability
|
11
|
+
Activa::Ability.new(activa_user)
|
12
|
+
end
|
13
|
+
|
14
|
+
private
|
15
|
+
|
16
|
+
def authenticate_activa_user
|
17
|
+
if !activa_user
|
18
|
+
session[:user_return_to] = request.fullpath
|
19
|
+
flash.alert = t('activa.errors.not_signed_in')
|
20
|
+
redirect_to main_app.sign_in_path
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def activa_admin?
|
25
|
+
activa_user && activa_user.activa_admin?
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,94 @@
|
|
1
|
+
class Activa::PagesController < Activa::ApplicationController
|
2
|
+
respond_to :html
|
3
|
+
|
4
|
+
before_filter :authenticate_activa_user, :except => %w(show index)
|
5
|
+
before_filter :find_page_by_uri, :only => :show
|
6
|
+
before_filter :find_page, :only => %w(edit update destroy)
|
7
|
+
|
8
|
+
layout 'admin', :except => %w(index show)
|
9
|
+
|
10
|
+
def index
|
11
|
+
@pages = Activa::Page.published.roots
|
12
|
+
end
|
13
|
+
|
14
|
+
def show
|
15
|
+
# Just render view
|
16
|
+
end
|
17
|
+
|
18
|
+
def new
|
19
|
+
@page = Activa::Page.new
|
20
|
+
@page.parent_id = params[:parent_id].to_i
|
21
|
+
|
22
|
+
respond_with(@page)
|
23
|
+
end
|
24
|
+
|
25
|
+
def edit
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
def create
|
30
|
+
@page = Activa::Page.new(params[:page])
|
31
|
+
|
32
|
+
# Publish page immediately
|
33
|
+
if params[:commit].present?
|
34
|
+
if @page.publish
|
35
|
+
flash.notice = I18n.t 'controllers.pages.create.published_notice'
|
36
|
+
smart_redirect_to(@page) and return
|
37
|
+
end
|
38
|
+
# Save page as a draft and continue editing
|
39
|
+
elsif params[:save_as_draft].present?
|
40
|
+
if @page.save_as_draft
|
41
|
+
flash.notice = I18n.t 'controllers.pages.create.draft_notice'
|
42
|
+
redirect_to(activa.edit_page_path(@page)) and return
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
respond_with(@page)
|
47
|
+
end
|
48
|
+
|
49
|
+
def update
|
50
|
+
if params[:commit].present?
|
51
|
+
#@page.attributes = params[:page]
|
52
|
+
if @page.update_attributes(params[:page])#@page.publish#(params[:page])
|
53
|
+
flash.notice = I18n.t 'controllers.pages.create.published_notice'
|
54
|
+
smart_redirect_to(@page) and return
|
55
|
+
end
|
56
|
+
elsif params[:save_as_draft].present?
|
57
|
+
|
58
|
+
if @page.update_as_draft(params[:page])
|
59
|
+
redirect_to(activa.edit_page_path(@page)) and return
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
respond_with(@page)
|
64
|
+
end
|
65
|
+
|
66
|
+
def destroy
|
67
|
+
if @page.destroy
|
68
|
+
flash.notice = I18n.t 'controllers.pages.destroy.notice'
|
69
|
+
redirect_to(activa.pages_path) and return
|
70
|
+
end
|
71
|
+
|
72
|
+
respond_with(@page) and return
|
73
|
+
end
|
74
|
+
|
75
|
+
def slug
|
76
|
+
render :json => { :slug => params[:title].to_s.to_url }
|
77
|
+
end
|
78
|
+
|
79
|
+
private
|
80
|
+
|
81
|
+
def smart_redirect_to(page)
|
82
|
+
redirect_to(page.uri)
|
83
|
+
end
|
84
|
+
|
85
|
+
def find_page_by_uri
|
86
|
+
@page = Activa::Page.retrieve(params[:id]) || not_found!
|
87
|
+
end
|
88
|
+
|
89
|
+
def find_page
|
90
|
+
@page = Activa::Page.find(params[:id])
|
91
|
+
end
|
92
|
+
|
93
|
+
end
|
94
|
+
|
@@ -0,0 +1,38 @@
|
|
1
|
+
module Activa
|
2
|
+
module PagesHelper
|
3
|
+
# Generate select tag options with pages tree (excludes passed page)
|
4
|
+
def select_options_for(page)
|
5
|
+
nested_set_options(Activa::Page, page) do |i|
|
6
|
+
raw "#{' ' * i.level} #{i.title}"
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
# Generate url for page form
|
11
|
+
def form_url(page)
|
12
|
+
page.new_record? ? pages_path : activa.page_path(page)
|
13
|
+
end
|
14
|
+
|
15
|
+
# Set page title. Use this method in your views
|
16
|
+
def title(page_title)
|
17
|
+
@page_title = page_title
|
18
|
+
end
|
19
|
+
|
20
|
+
# This prints page title. Call this helper
|
21
|
+
# inside title tag of your layout
|
22
|
+
def page_title(default_title = '')
|
23
|
+
@page_title || default_title
|
24
|
+
end
|
25
|
+
|
26
|
+
# Print heading (h1 by default) and set page title
|
27
|
+
# at the same time. Use this method in your views
|
28
|
+
def heading_with_title(heading, tag=:h1)
|
29
|
+
title(heading)
|
30
|
+
heading(heading, tag)
|
31
|
+
end
|
32
|
+
|
33
|
+
def heading(heading, tag=:h1, options = {})
|
34
|
+
tag = :h1 if tag.nil?
|
35
|
+
content_tag(tag, heading, options)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
class SlugInput < SimpleForm::Inputs::Base
|
2
|
+
def input
|
3
|
+
prefix = template.content_tag :span, template.main_app.root_url, :class => 'root-url'
|
4
|
+
field = @builder.text_field(attribute_name, input_html_options)
|
5
|
+
done = template.content_tag :button, I18n.t('helpers.submit.slug.done', :default => 'Done'), :class => 'btn done'
|
6
|
+
cancel = template.content_tag :a, I18n.t('helpers.submit.slug.cancel', :default => 'Cancel'), :href => '#', :class => 'cancel'
|
7
|
+
or_word = I18n.t('helpers.submit.slug.or', :default => 'or')
|
8
|
+
"#{prefix} #{field} #{done} #{or_word} #{cancel}".html_safe
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'cancan'
|
2
|
+
|
3
|
+
module Activa
|
4
|
+
class Ability
|
5
|
+
include CanCan::Ability
|
6
|
+
|
7
|
+
def initialize(user)
|
8
|
+
user ||= Activa.user_class.new
|
9
|
+
|
10
|
+
can :read, Activa::Page do |page|
|
11
|
+
user.can_read_activa_page?(page)
|
12
|
+
end
|
13
|
+
|
14
|
+
can :edit, Activa::Page do |page|
|
15
|
+
user.can_edit_activa_page?(page)
|
16
|
+
end
|
17
|
+
|
18
|
+
can :create, Activa::Page do |page|
|
19
|
+
user.can_create_activa_page?(page)
|
20
|
+
end
|
21
|
+
|
22
|
+
can :destroy, Activa::Page do |page|
|
23
|
+
user.can_destroy_activa_page?(page)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|